v0.2.3e: reworked night mode into a level feeling

This commit is contained in:
Evan Debenham
2015-01-20 16:49:55 -05:00
parent 66db278940
commit e4d0017137
5 changed files with 23 additions and 13 deletions
@@ -169,8 +169,6 @@ public class Dungeon {
// Hero's field of view
public static boolean[] visible = new boolean[Level.LENGTH];
public static boolean nightMode;
public static int version;
@@ -349,8 +347,6 @@ public class Dungeon {
@SuppressWarnings("deprecation")
public static void switchLevel( final Level level, int pos ) {
nightMode = new Date().getHours() < 7;
Dungeon.level = level;
Actor.init();