Example #1
0
 public override void LoadContent()
 {
     base.LoadContent();
     _Content.RootDirectory = "Content/";
     tester = new Sprite();
     tester.LoadContent("Art/test", _Content);
     tester._Position = new Vector2(100, 100);
     bg = _Content.Load <Texture2D>("Art/mm1");
     _Content.RootDirectory = "Content/Scenes/Stest";
     inverse = _Content.Load <Effect>("Inverse");
 }
Example #2
0
 public override void Deactivate()
 {
     base.Deactivate();
     chaseTarget = null;
 }
Example #3
0
 public void SetTarget(BaseObjects.Sprite target)
 {
     chaseTarget = target;
 }
Example #4
0
 public override void UnloadContent()
 {
     base.UnloadContent();
     tester = null;
 }