public Bitmap getCombatSprite(Klasse.Klassen player, Klasse.Klassen chosenClass) { switch (player) { case Klasse.Klassen.Coronaleugner: return(Resources.Resource1.coronaLeugnerJetztaberTrans); case Klasse.Klassen.Normalbürger: return(Resources.Resource1.normalboiSpriteTrans); case Klasse.Klassen.Virologe: return(Resources.Resource1.virologeSpriteTrans); case Klasse.Klassen.Virus: if (chosenClass == Klasse.Klassen.Coronaleugner) { return(Resources.Resource1.Verkleidetes_Virus); } if (Main.getInstance().getCurrentStage() == 4) { return(Resources.Resource1.Cowboy_Virus); } return(Resources.Resource1.virusSpriteTrans); case Klasse.Klassen.Bat: return(Resources.Resource1.deepBatTrans); } return(null); }
public Bitmap getSprite(int x, int j, int[,] grid, Klasse.Klassen player) { switch (grid[x, j]) { case 1: return(Resources.Resource1.virologeSpriteTrans); case 2: if (player == Klasse.Klassen.Coronaleugner) { return(Resources.Resource1.Verkleidetes_Virus); } if (Main.getInstance().getCurrentStage() == 4) { return(Resources.Resource1.Cowboy_Virus); } return(Resources.Resource1.virusSpriteTrans); case 3: return(Resources.Resource1.forrestSprite); case 4: return(Resources.Resource1.Gebirge); case 69: return(Resources.Resource1.deepBatTrans); case 6: return(Resources.Resource1.Straße_horizontal); case 7: return(Resources.Resource1.Straße_vertikal); case 8: return(Resources.Resource1.Straße_Kreuzung_Sprite); case 9: return(Resources.Resource1.haus); case 10: if (Main.getInstance().getCurrentStage() == 4) { return(Resources.Resource1.sheriffKiwiTrans); } return(Resources.Resource1.kiwiTrans); case 11: return(Resources.Resource1.Hochhaus); case 12: return(Resources.Resource1.Empty); case 13: return(Resources.Resource1.deadBatTrans); } return(null); }
public void setStartupModifiers(Klasse.Klassen x) //Implement modifier selection { switch (x) { case Klasse.Klassen.Virus: maxHealth = 30; health = maxHealth; speed = 7; attack = 8; defence = 2; break; case Klasse.Klassen.Virologe: maxHealth = 100; health = maxHealth; speed = 10; attack = 10; defence = 5; break; case Klasse.Klassen.Normalbürger: maxHealth = 50; health = maxHealth; speed = 10; attack = 6; defence = 5; break; case Klasse.Klassen.Coronaleugner: maxHealth = 20; health = maxHealth; speed = 10; attack = 3; defence = 3; break; case Klasse.Klassen.Bat: maxHealth = 1000; health = maxHealth; speed = 20; attack = 20; defence = 10; break; } }
public Bitmap getStory(int x, Klasse.Klassen klasse) { if (klasse == Klasse.Klassen.Coronaleugner) { switch (x) { case 1: return(Resources.ResourceStory.Coronaleugner_Story_1); case 2: return(Resources.ResourceStory.Coronaleugner_Story_2); case 3: Main.getInstance().getItem(2); return(Resources.ResourceStory.Coronaleugner_Story_3); case 4: return(Resources.ResourceStory.Coronaleugner_Story_4); case 5: return(Resources.ResourceStory.Coronaleugner_Story_5); case 6: return(Resources.ResourceStory.Coronaleugner_Story_6); case 7: return(Resources.ResourceStory.Coronaleugner_Story_7); } } if (klasse == Klasse.Klassen.Normalbürger) { switch (x) { case 1: return(Resources.ResourceStory.Normalbürger_Story_1); case 2: return(Resources.ResourceStory.Normalbürger_Story_2); case 3: Main.getInstance().getItem(2); return(Resources.ResourceStory.Normalbürger_Story_3); case 4: Main.getInstance().getItem(1); return(Resources.ResourceStory.Normalbürger_Story_4); case 5: Main.getInstance().getItem(4); return(Resources.ResourceStory.Normalbürger_Story_5); case 6: return(Resources.ResourceStory.Normalbürger_Story_6); case 7: return(Resources.ResourceStory.Normalbürger_Story_7); } } if (klasse == Klasse.Klassen.Virologe) { switch (x) { case 1: Main.getInstance().getItem(1); return(Resources.ResourceStory.Virologe_Story_1); case 2: Main.getInstance().getItem(1); return(Resources.ResourceStory.Virologe_Story_2); case 3: Main.getInstance().getItem(2); return(Resources.ResourceStory.Virologe_Story_3); case 4: Main.getInstance().getItem(3); return(Resources.ResourceStory.Virologe_Story_4); case 5: Main.getInstance().getItem(4); return(Resources.ResourceStory.Virologe_Story_5); case 6: return(Resources.ResourceStory.Virologe_Story_6); case 7: return(Resources.ResourceStory.Virologe_Story_7); } } return(null); }
public GameEntity(Klasse.Klassen Klasse, string name) { entityclass = Klasse; username = name; setStartupModifiers(Klasse); }
public void setClass(Klasse.Klassen clazz) { entityclass = clazz; }
public Spieler(Klasse.Klassen klasse, string name) : base(klasse, name) { }
public Virus(Klasse.Klassen klasse, string name) : base(klasse, name) { }