void SetUpKira() { if (KiraBox == null) { KiraBox = new ImageBox(); KiraBox.Name = "KiraBox"; } Kira = new Sprite(); Kira.filename = "assets/CharacterSheets/kirasheet.png"; Kira.position.x = 150; Kira.position.y = 100; Kira.inscene = setKira; Kira.state = kiraState; Kira.tiles.x = 4; Kira.tiles.y = 2; Kira.size.x = 200; Kira.size.y = 315; SpriteSheetManagerUI.CreateImage(ref Kira); KiraBox.Image = new ImageAsset(Kira.image, PixelFormat.Rgba); }
void SetUpKira() { Kira.filename = "assets/CharacterSheets/kirasheet.png"; if (kiraOnLeft) { Kira.position.x = 250; Kira.position.y = 40; } else { Kira.position.x = 450; Kira.position.y = 40; } Kira.inscene = true; Kira.tiles.x = 4; Kira.tiles.y = 2; Kira.size.x = 200; Kira.size.y = 315; if (Kira.image != null) { Kira.image.Dispose(); } SpriteSheetManagerUI.CreateImage(ref Kira); }
void SetUpAiden() { if (AidenBox == null) { AidenBox = new ImageBox(); AidenBox.Name = "AidenBox"; } Aiden = new Sprite(); Aiden.filename = "assets/CharacterSheets/aidensheet.png"; Aiden.position.x = 35; Aiden.position.y = 100; Aiden.inscene = setAiden; Aiden.state = aidenState; Aiden.tiles.x = 4; Aiden.tiles.y = 2; Aiden.size.x = 200; Aiden.size.y = 315; SpriteSheetManagerUI.CreateImage(ref Aiden); if (!firstrunthrough) { AidenBox.Image.Dispose(); } AidenBox.Image = new ImageAsset(Aiden.image, PixelFormat.Rgba); Aiden.image.Dispose(); }
void SetUpBear() { Bear.filename = "assets/CharacterSheets/bearsheet.png"; Bear.position.x = 485; Bear.position.y = 10; Bear.inscene = setBear; Bear.state = bearState; Bear.tiles.x = 4; Bear.tiles.y = 2; Bear.size.x = 250; Bear.size.y = 325; SpriteSheetManagerUI.CreateImage(ref Bear); }
void SetUpBandit3() { Bandit3.filename = "assets/CharacterSheets/banditsheet.png"; Bandit3.position.x = 500; Bandit3.position.y = 5; Bandit3.inscene = setBandit3; Bandit3.state = Bandit3State; Bandit3.tiles.x = 3; Bandit3.tiles.y = 3; Bandit3.size.x = 240; Bandit3.size.y = 310; SpriteSheetManagerUI.CreateImage(ref Bandit3); }
void SetUpAiden() { Aiden.filename = "assets/CharacterSheets/aidensheet.png"; Aiden.position.x = 130; Aiden.position.y = 10; Aiden.inscene = setAiden; Aiden.state = aidenState; Aiden.tiles.x = 4; Aiden.tiles.y = 2; Aiden.size.x = 200; Aiden.size.y = 315; SpriteSheetManagerUI.CreateImage(ref Aiden); }
void SetUpAiden() { Aiden.filename = "assets/CharacterSheets/aidensheet.png"; Aiden.position.x = 130; Aiden.position.y = 40; Aiden.inscene = true; Aiden.tiles.x = 4; Aiden.tiles.y = 2; Aiden.size.x = 200; Aiden.size.y = 315; if (Aiden.image != null) { Aiden.image.Dispose(); } SpriteSheetManagerUI.CreateImage(ref Aiden); }
void SetUpBandit3() { Bandit3.filename = "assets/CharacterSheets/banditsheet.png"; Bandit3.position.x = 450; Bandit3.position.y = 40; Bandit3.inscene = setBandit3; Bandit3.tiles.x = 3; Bandit3.tiles.y = 3; Bandit3.size.x = 240; Bandit3.size.y = 310; if (Bandit3.image != null) { Bandit3.image.Dispose(); } SpriteSheetManagerUI.CreateImage(ref Bandit3); }
void SetUpBear() { Bear.filename = "assets/CharacterSheets/bearsheet.png"; Bear.position.x = 485; Bear.position.y = 40; Bear.inscene = setBear; Bear.tiles.x = 4; Bear.tiles.y = 2; Bear.size.x = 250; Bear.size.y = 325; if (Bear.image != null) { Bear.image.Dispose(); } SpriteSheetManagerUI.CreateImage(ref Bear); }
void SetUpKira() { Kira.filename = "assets/CharacterSheets/kirasheet.png"; if (kiraOnLeft) { Kira.position.x = 250; Kira.position.y = 10; } else { Kira.position.x = 450; Kira.position.y = 10; } Kira.inscene = setKira; Kira.state = kiraState; Kira.tiles.x = 4; Kira.tiles.y = 2; Kira.size.x = 200; Kira.size.y = 315; SpriteSheetManagerUI.CreateImage(ref Kira); }