Implemented functions to draw game objects.