public static Tile CreateTileTriggerKillBox(Rectangle bounds, bool triggerOnce) { TileTrigger t = new TileTrigger(bounds, triggerOnce); t.SetType(); t.Initialize(); World.tiles.Add(t); return(t); }
public static Tile CreateTileTriggerDialogue(Rectangle bounds, bool triggerOnce, string dialogueKey) { TileTrigger t = new TileTrigger(bounds, triggerOnce); t.SetType(dialogueKey); t.Initialize(); World.tiles.Add(t); return(t); }
public static Tile CreateTileTriggerKillBox(Rectangle bounds, bool triggerOnce) { TileTrigger t = new TileTrigger(bounds, triggerOnce); t.SetType(); t.Initialize(); World.tiles.Add(t); return t; }
public static Tile CreateTileTriggerDialogue(Rectangle bounds, bool triggerOnce, string dialogueKey) { TileTrigger t = new TileTrigger(bounds, triggerOnce); t.SetType(dialogueKey); t.Initialize(); World.tiles.Add(t); return t; }