using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EventSystemXMLCreator { public static class Globals { public static string CSProjectLocation = ""; public static string CurrentFileLocation = ""; // attribute name public static string xmlChildNodeName; public static string childNodeTypeID = ""; // attribute value public static string CN_TypeID; public struct EventConditions { // attribute name public static string attributeName1 = "Node"; public static string attributeName2 = "Coins"; public static string attributeName3 = "Sanity"; // attribute value public static int node; public static int coins; public static int sanity; } public struct AIEventTemplate { // attribute name public static string attributeName1 = "ID"; public static string attributeName2 = "drawable"; public static string attributeName3 = "destX"; public static string attributeName4 = "destY"; public static string attributeName5 = "destZ"; // attribute value public static int ID; public static bool drawable; public static int destX; public static int destY; public static int destZ; } public struct DialogueEventTemplate { // attribute name public static string attributeName1 = "speaker"; public static string attributeName2 = "message"; public static string attributeName3 = "time"; public static string attributeName4 = "texturePath"; // attribute value public static string speaker; public static string message; public static int time; public static string texturePath; } public struct HUDEventTemplate { // attribute name public static string attributeName1 = "HUDTypeID"; public static string attributeName2 = "texturePath"; public static string attributeName3 = "locX"; public static string attributeName4 = "locY"; public static string attributeName5 = "toDraw"; // attribute value public static string HUDtypeID; public static string texPath; public static string locX; public static string locY; public static bool toDraw; } public struct TerrainEventTemplate { // attribute name public static string attributeName1 = "timer"; public static string attributeName2 = "startX"; public static string attributeName3 = "startY"; public static string attributeName4 = "startZ"; public static string attributeName5 = "endX"; public static string attributeName6 = "endY"; public static string attributeName7 = "endZ"; public static string attributeName8 = "modAmount"; // attribute value public static int timer; public static float startX; public static float startY; public static float startZ; public static float endX; public static float endY; public static float endZ; public static float modamount; } public struct LevelChangeEventTemplate { // attribute name public static string attributeName1 = "nextLevel"; // attribute value public static int nextLevel; } } }