v0.2.3e: reworked night mode into a level feeling
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user