/[enigma]/enigma/src/object_mixins.hh
ViewVC logotype

Diff of /enigma/src/object_mixins.hh

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

revision 1.1 by dheck, Sun Jan 5 19:56:39 2003 UTC revision 1.2 by dheck, Mon Jan 6 12:25:03 2003 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2002 Daniel Heck   * Copyright (C) 2002,2003 Daniel Heck
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License   * modify it under the terms of the GNU General Public License
# Line 14  Line 14 
14   * You should have received a copy of the GNU General Public License along   * You should have received a copy of the GNU General Public License along
15   * with this program; if not, write to the Free Software Foundation, Inc.,   * with this program; if not, write to the Free Software Foundation, Inc.,
16   * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.   * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17     *
18     * $Id$
19   */   */
20  #ifndef OBJECT_MIXINS_HH  #ifndef OBJECT_MIXINS_HH
21  #define OBJECT_MIXINS_HH  #define OBJECT_MIXINS_HH
# Line 50  namespace world Line 52  namespace world
52      protected:      protected:
53          MovableStone(const char *name) : Stone(name) {}          MovableStone(const char *name) : Stone(name) {}
54                    
55          bool on_move() { return true; }          bool is_movable() { return true; }
56          void actor_inside (Actor *a) {          void actor_inside (Actor *a) {
57              SendMessage(a, "shatter");              SendMessage(a, "shatter");
58          }          }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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