v0.3.0: reworked acting order, now uses a proper priority system with owned properties

This commit is contained in:
Evan Debenham
2015-05-14 19:47:25 -04:00
parent e60424bf15
commit e8a2004345
8 changed files with 38 additions and 7 deletions
@@ -31,6 +31,10 @@ public class Pushing extends Actor {
private int to;
private Effect effect;
{
actPriority = Integer.MIN_VALUE; //it's a visual effect, gets priority no matter what
}
public Pushing( Char ch, int from, int to ) {
sprite = ch.sprite;