implement Graphics2D for all game objects