public override void LoadContent() { base.LoadContent(); tex2DTexture = GSM.Instance.Game.Content.Load<Texture2D>("Art/AISprite"); recSpritePos = new Rectangle((int)(vec2Position.X), (int)(vec2Position.Y), tex2DTexture.Width, tex2DTexture.Height); sm = new SM(this, new Bombing()); strObjectiveName = "Bomb Drop";
public override void LoadContent() { base.LoadContent(); tex2DTexture = GSM.Instance.Game.Content.Load<Texture2D>("Art/playah"); recSpritePos = new Rectangle((int)(vec2Position.X), (int)(vec2Position.Y), tex2DTexture.Width, tex2DTexture.Height); sm = new SM(this, new SeekState()); }
public virtual void EnterState(SM a_FSM) { machine = a_FSM; }
public override void EnterState(SM a_FSM) { base.EnterState (a_FSM); machine.controller.Vec2Target = randomDest;