Пример #1
0
 public Entity(Vector2 position, Animation animation, int layer)
 {
     m_animation = animation;
     m_position  = position;
     states      = new EntityStateManager();
 }
Пример #2
0
 public Entity(Vector2 position, Sprite sprite, int layer)
 {
     m_sprite   = sprite;
     m_position = position;
     states     = new EntityStateManager();
 }