Exemplo n.º 1
0
 public Player(Vector2 startingPosition)
 {
     curState       = availState.right;
     state          = new RightIdleState(this);
     position       = startingPosition;
     monsterBuilder = new MonsterBuilder("Index/Index.csv");
     CreateAMonster();
 }
Exemplo n.º 2
0
 public Enemy(Vector2 startingPosition)
 {
     Sprites        = new List <IAnimatedSprite>();
     position       = startingPosition;
     oldPosition    = startingPosition;
     monsterBuilder = new MonsterBuilder("Index/Index.csv");
     CreateAMonster();
 }
Exemplo n.º 3
0
 public Player(Vector2 startingPosition)
 {
     curState = availState.right;
     state = new RightIdleState(this);
     position = startingPosition;
     monsterBuilder = new MonsterBuilder("Index/Index.csv");
     CreateAMonster();
 }