/[enigma]/enigma/src/stones_simple.cc
ViewVC logotype

Diff of /enigma/src/stones_simple.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by reallysoft, Mon May 19 12:14:36 2003 UTC revision 1.4 by reallysoft, Mon May 26 09:38:31 2003 UTC
# Line 132  namespace Line 132  namespace
132              return sound.c_str();              return sound.c_str();
133          }          }
134    
135          bool on_laserhit(Direction) {return true;};          bool on_laserhit(Direction) { return false; }
136    
137          Object *clone() {          Object *clone() {
138              return new SimpleStoneMovable(get_kind(), sound);              return new SimpleStoneMovable(get_kind(), sound);
# Line 567  namespace Line 567  namespace
567              }              }
568          }          }
569          bool on_laserhit(Direction /*dir*/) {          bool on_laserhit(Direction /*dir*/) {
570              return state != BRICK;              return state == GLASS;
571          }          }
572      };      };
573  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26