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"); }
public override void Deactivate() { base.Deactivate(); chaseTarget = null; }
public void SetTarget(BaseObjects.Sprite target) { chaseTarget = target; }
public override void UnloadContent() { base.UnloadContent(); tester = null; }