public void SetEvent(Texture2D EveTexture, EventType EVE, World world) { switch (EVE) { case EventType.NPC: thisEvent = new Event(); break; case EventType.PICKUP: thisEvent = new Event(); break; } }
//public void Initialize(); public void Initialize(Texture2D Texture, CharacterID npcType, Vector2 Position) { npcEvent = new Event(); npcEvent.InitializeNPC(npcType); base.Initialize(Texture, new Vector2(Position.X, Position.Y-70)); }