public override void Initialize()
 {
     font = theContent.Load<SpriteFont>("SpriteFont1");
     texture = theContent.Load<Texture2D>("Graphics/Mechs/Mech2/Mech2Walk");
     texture2 = theContent.Load<Texture2D>("Graphics/Mechs/Mech2/Mech2Walk");
     test = new SpriteSheet(texture, 96, 96, 7, 3);
     test2 = new SpriteSheet(texture2, 96, 96, 7, 3);
     testCharacter = new Mech(new Vector2(100, 100), test);
     testCharacter2 = new Mech(new Vector2(500, 500), test2);
     entities = new List<Entity>();
     entities.Add(testCharacter2);
     entities.Add(testCharacter);
     MapInit();
     collider = new Collider();
     base.Initialize();
 }
Beispiel #2
0
 public CharacterCollider(Character host)
 {
     this.host = host;
 }