public class ConcreteBlock extends LevelObject
sprite
Constructor and Description |
---|
ConcreteBlock() |
ConcreteBlock(int pos) |
Modifier and Type | Method and Description |
---|---|
boolean |
affectLevelObjects() |
java.lang.String |
desc() |
java.lang.String |
name() |
boolean |
nonPassable() |
boolean |
push(Char hero) |
boolean |
pushable(Char hero) |
void |
restoreFromBundle(Bundle bundle) |
boolean |
stepOn(Char hero) |
void |
storeInBundle(Bundle bundle) |
public boolean stepOn(Char hero)
stepOn
in class LevelObject
public boolean pushable(Char hero)
pushable
in class LevelObject
public boolean push(Char hero)
push
in class LevelObject
public void restoreFromBundle(Bundle bundle)
restoreFromBundle
in interface Bundlable
restoreFromBundle
in class LevelObject
public void storeInBundle(Bundle bundle)
storeInBundle
in interface Bundlable
storeInBundle
in class LevelObject
public java.lang.String desc()
desc
in class LevelObject
public java.lang.String name()
name
in class LevelObject
public boolean affectLevelObjects()
affectLevelObjects
in interface Presser
affectLevelObjects
in class LevelObject
public boolean nonPassable()
nonPassable
in class LevelObject