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

Diff of /enigma/src/world.hh

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

revision 1.20 by reallysoft, Thu Jun 5 10:35:46 2003 UTC revision 1.21 by ant_39, Sat Jun 7 11:17:12 2003 UTC
# Line 23  Line 23 
23  #include "enigma.hh"  #include "enigma.hh"
24  #include "px/math.hh"  #include "px/math.hh"
25    
26    #include <vector>
27  #include <string>  #include <string>
28  #include <iosfwd>  #include <iosfwd>
29    
# Line 185  namespace world Line 186  namespace world
186      /* Remove all rubber bands attached to stone ST. */      /* Remove all rubber bands attached to stone ST. */
187      void KillRubberBands (Stone *st);      void KillRubberBands (Stone *st);
188    
189        /* fills given vector with basic info about rubbers attached to given stone */
190        struct Rubber_Band_Info {
191            Actor *act;
192            double length;
193            double strength;
194        };
195        typedef std::vector<Rubber_Band_Info> RBI_vector;
196        void GiveRubberBands (Stone *st, RBI_vector &rubbers);
197    
198      /* Returns true if there already is a rubber band connecting `a'      /* Returns true if there already is a rubber band connecting `a'
199         and `st'. */         and `st'. */
200      bool HasRubberBand (Actor *a, Stone *st);      bool HasRubberBand (Actor *a, Stone *st);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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