-- For the moment this class is mostly a placeholder. It allows us to -- distinguish those game pieces that just act as decoration for a -- GAME_CELL. deferred class DECORATION inherit GAME_PIECE rename vacate as undecorate, occupy as decorate redefine undecorate, customized_init end feature{NONE} -- save/restore customized_init( r : like room ; pr : like record ) is do precursor( r, pr ) starting_cell := northwest decorate( northwest ) end feature{NONE} occupy_cells is -- The cells don't need to know about me. do end feature undecorate is do end blocks_glare : BOOLEAN is False blocks_shots : BOOLEAN is False -- These are probably irrelevant for decorations as the logic in GAME_CELL -- only deals with visitors and occupants. end