Exemple #1
0
 public void loadContent(ContentManager manager)
 {
     TopDownPawn = new AnimatedSprite2D(manager.Load <Texture2D>("Sprite-Ricky-TopDown"), 1, 10);
     Sprite      = TopDownPawn;
 }
Exemple #2
0
 public Entity(Vector2 location, AnimatedSprite2D sprite)
 {
     Position = location;
     Sprite   = sprite;
 }