if(ice_state == state)
return;
- set_portable(state == ICESTATE_FLAT);
-
switch(state) {
case ICESTATE_NORMAL:
WalkingBadguy::activate();
set_group(COLGROUP_MOVING);
}
+bool
+MrIceBlock::is_portable() const
+{
+ return ice_state == ICESTATE_FLAT;
+}
+
IMPLEMENT_FACTORY(MrIceBlock, "mriceblock")