Added a base class for both Tile and Actor.