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