Exemple #1
0
 public virtual void RegisterToDraw(SortedDrawList sortedDrawList, GameState readOnlyGameState,
                                    ISortSmoothProvider sp)
 {
     sortedDrawList.Add(this, 0, GetRenderPosition(sp), facingLeft, animationSet, currentAnimation.animation);
 }
Exemple #2
0
 public Position GetRenderPosition(ISortSmoothProvider smoothProvider)         // <- SORTING
 {
     // NOTE: Visually things work better if we do not smooth the sort (so that all sorted positions are physically plausable)
     return(position);
 }