/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (WSOGame game = new WSOGame()) { game.Run(); } }
public CreateAccountMenu(WSOGame theGame, Client theClient) { myGame = theGame; netClient = theClient; _email = ""; _password = ""; }
public CharacterCreateMenu(WSOGame theGame, Client theClient) { myGame = theGame; netClient = theClient; characterRace = Race.Human; hairStyleID = 0; hairColorID = 0; faceStyleID = 0; shirtStyleID = 0; shirtColorID = 0; legsStyleID = 0; legsColorID = 0; skinColorID = 0; spr_HeadSprite = myGame.graphicsManager.Heads[(byte)characterRace][hairStyleID]; spr_TorsoSprite = myGame.graphicsManager.Torsos[(byte)characterRace][shirtStyleID]; spr_LegsSprite = myGame.graphicsManager.Legs[(byte)characterRace][legsStyleID]; spr_FootSprite = myGame.graphicsManager.Feet[(byte)characterRace][legsStyleID]; spr_ArmsSprite = myGame.graphicsManager.Arms[(byte)characterRace][shirtStyleID]; spr_Shadow = myGame.graphicsManager.Shadow; characterPosition = new Vector2(520, 431); characterSlot = 0; }
public CharacterSelectionMenu(WSOGame theGame, Client theClient) { myGame = theGame; netClient = theClient; characterTiles = new List<CharacterTile>(); characterDataLoaded = false; netClient.SendAccountCharacterDataRequest(); }
public CharacterTile(WSOGame myGame, Vector2 location, bool isCharacter) { Location = location; selected = false; HasCharacter = isCharacter; my_tile = null; scale = SIZE_SMALL; alpha = 100; graphics = myGame.graphicsManager; characterPosition = location + new Vector2(0, 64); }
public CreateAccountMenu(WSOGame theGame, Client theClient, string[] args) { myGame = theGame; netClient = theClient; if (args != null && args.Length == 2) { _email = args[0]; _password = args[1]; } else { _email = ""; _password = ""; } }
public CharacterTile(WSOGame myGame, Vector2 location, CharacterData charData) : this(myGame, location, true) { username = charData.USERNAME; raceID = charData.RACE_ID; hairStyleID = charData.HAIR_STYLE_ID; hairColorID = charData.HAIR_COLOR_ID; faceStyleID = charData.FACE_STYLE_ID; shirtStyleID = charData.SHIRT_STYLE_ID; shirtColorID = charData.SHIRT_COLOR_ID; legsStyleID = charData.LEGS_STYLE_ID; legsColorID = charData.LEGS_COLOR_ID; skinColorID = charData.SKIN_COLOR_ID; SetAppeareance(); }
public CharacterTile(WSOGame myGame, Vector2 location, string name, byte gender, byte race, byte hairStyle, byte hairColor, byte faceStyle, byte shirtStyle, byte shirtColor, byte legsStyle, byte legsColor, byte skinColor, byte zone) : this(myGame, location, true) { raceID = race; hairStyleID = hairStyle; hairColorID = hairColor; faceStyleID = faceStyle; shirtStyleID = shirtStyle; shirtColorID = shirtColor; legsStyleID = legsStyle; legsColorID = legsColor; skinColorID = skinColor; SetAppeareance(); //Sprite spr_HeadSprite, spr_TorsoSprite, spr_LegsSprite, spr_ArmsSprite, spr_FootSprite; //Sprite spr_HairSprite, spr_FaceSprite; }
public LoginMenu(WSOGame theGame, Client theClient) { myGame = theGame; netClient = theClient; //myContentManager = theContentManager(); }
public Client(WSOGame theGame) { myGame = theGame; Initialize(); }