added some additional methods for drawing entities.