public People(Texture2D texture, Vector2 position, Vector2 mapPosition, Texture2D[] burningSequence, Texture2D burnt) : base(texture, position) { myMapPosition = mapPosition; name = "People"; myBurningSequence = burningSequence; myBurning = new Animate(burningSequence); SetUpBurning(); myBurnt = burnt; myState = new RegularState(this); }
public House(Texture2D texture, Vector2 position, Vector2 mapPosition, Texture2D[] animateSequence, Texture2D burnt) : base(texture, position) { myMapPosition = mapPosition; name = "House"; myAnimateSequence = animateSequence; myAnimate = new Animate(animateSequence); SetUpAnimate(); myBurnt = burnt; myState = new RegularState(this); }
public Tree(Texture2D texture, Vector2 position, Vector2 mapPosition, Texture2D[] burningSequence, Texture2D burnt, Texture2D[] multiplyTree) : base(texture, position) { myMapPosition = mapPosition; name = "Tree"; myBurningSequence = burningSequence; myBurning = new Animate(burningSequence); SetUpBurning(); myBurnt = burnt; myMultiplySequence = multiplyTree; myMultiply = new Animate(multiplyTree); SetUpMultiply(); myState = new RegularState(this); }