v0.6.2: action indicator now persists between floors (but not games)
This commit is contained in:
parent
17a15d2485
commit
d898e29fdb
|
@ -32,6 +32,7 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.BannerSprites.Type;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.journal.Journal;
|
import com.shatteredpixel.shatteredpixeldungeon.journal.Journal;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.ui.ActionIndicator;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
|
import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ui.ExitButton;
|
import com.shatteredpixel.shatteredpixeldungeon.ui.ExitButton;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ui.Icons;
|
import com.shatteredpixel.shatteredpixeldungeon.ui.Icons;
|
||||||
|
@ -217,6 +218,7 @@ public class StartScene extends PixelScene {
|
||||||
add( btnExit );
|
add( btnExit );
|
||||||
|
|
||||||
curClass = null;
|
curClass = null;
|
||||||
|
ActionIndicator.action = null;
|
||||||
updateClass( HeroClass.values()[ShatteredPixelDungeon.lastClass()] );
|
updateClass( HeroClass.values()[ShatteredPixelDungeon.lastClass()] );
|
||||||
|
|
||||||
fadeIn();
|
fadeIn();
|
||||||
|
|
|
@ -45,7 +45,6 @@ public class ActionIndicator extends Tag {
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
super.destroy();
|
super.destroy();
|
||||||
instance = null;
|
instance = null;
|
||||||
action = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user