v0.2.2: fixed a visual sync bug with bones system

This commit is contained in:
Evan Debenham
2014-10-25 14:11:46 -04:00
parent 2d176b4b62
commit bd4405a805
6 changed files with 31 additions and 14 deletions
@@ -111,8 +111,12 @@ public class Item implements Bundlable {
hero.spendAndNext( TIME_TO_DROP );
Dungeon.level.drop( detachAll( hero.belongings.backpack ), hero.pos ).sprite.drop( hero.pos );
}
public void doThrow( Hero hero ) {
public void syncVisuals(){
//do nothing by default, as most items need no visual syncing.
}
public void doThrow( Hero hero ) {
GameScene.selectCell( thrower );
}