示例#1
0
 public void Reset()
 {
     stateMachine = new StalfosStateMachine(init.Item1, init.Item2, init.Item3, init.Item4);
 }
示例#2
0
 public Stalfos(int x, int y, int width, int height, Texture2D spriteSheet)
 {
     stateMachine       = new StalfosStateMachine(x, y, width, height);
     stalfosSpriteSheet = spriteSheet;
     init = new Tuple <int, int, int, int>(x, y, width, height);
 }