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