zorfmorf / hedge

0 stars 0 forks source link

Entity draw order #35

Closed zorfmorf closed 9 years ago

zorfmorf commented 9 years ago

Entity draw order needs to be adjusted to correctly draw npcs with higher y coordinate above others with lower y coordinate

zorfmorf commented 9 years ago

Implemented. Seperate sorted list is kept, updated everytime an entity is added/removed and is used for drawing operations. Should be pretty efficient.