Exemplo n.º 1
0
 public Player(AnimatedSpriteAtlas right, AnimatedSpriteAtlas walk_right)
 {
     pos_center = new Vector2(300, 300);
     sprite_right = right;
     sprite_walk_right = walk_right;
 }
Exemplo n.º 2
0
 public Player()
 {
     pos_center = new Vector2(300, 400);
     sprite_right = new AnimatedSpriteAtlas("Content/Luna/right.xml", "Luna/right", 100);
     sprite_walk_right = new AnimatedSpriteAtlas("Content/Luna/walk_right.xml", "Luna/walk_right", 50);
 }