v0.3.0c: plants are now visible from the fog of war
This commit is contained in:
committed by
Evan Debenham
parent
d14742fda0
commit
fb2c4c40c4
@@ -78,8 +78,6 @@ public class PlantSprite extends Image {
|
|||||||
public void update() {
|
public void update() {
|
||||||
super.update();
|
super.update();
|
||||||
|
|
||||||
visible = pos == -1 || Dungeon.visible[pos];
|
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case GROWING:
|
case GROWING:
|
||||||
if ((time -= Game.elapsed) <= 0) {
|
if ((time -= Game.elapsed) <= 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user