Archived
1
0

+ added properties instead of class variables

x removed Typliste (integrated in Einwohner)
This commit is contained in:
2009-01-30 21:57:37 +01:00
parent 422210793e
commit 497fd500d9
9 changed files with 153 additions and 72 deletions
+2 -2
View File
@@ -81,13 +81,13 @@ namespace vampi {
Console.BackgroundColor = Settings.colorEmpty;
else { //Spielfeld besetzt
switch (sf.Typ) {
case Typliste.EINWOHNER:
case Spielfigur.TYPE_HUMAN:
if (((Einwohner)sf).Infected)
Console.BackgroundColor = Settings.colorHumanInfected;
else
Console.BackgroundColor = Settings.colorHuman;
break;
case Typliste.VAMPIR:
case Spielfigur.TYPE_VAMPIRE:
Console.BackgroundColor = Settings.colorVampire;
break;
}//switch