Changeset 198
- Timestamp:
- 11/25/04 16:36:14 (4 years ago)
- Location:
- branches/simplest-thing/lib/fm
- Files:
-
- 8 modified
-
area.rb (modified) (1 diff)
-
entity.rb (modified) (1 diff)
-
events/astronomical.rb (modified) (1 diff)
-
events/meteorological.rb (modified) (1 diff)
-
events/perceptual.rb (modified) (1 diff)
-
gameobject.rb (modified) (1 diff)
-
locus.rb (modified) (5 diffs)
-
verb.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/simplest-thing/lib/fm/area.rb
r194 r198 30 30 ### game world. 31 31 class FaerieMUD::Area < FaerieMUD::Locus 32 #contributors :ged32 contributors :ged 33 33 34 34 # SVN Revision -
branches/simplest-thing/lib/fm/entity.rb
r188 r198 50 50 ### other objects via events. 51 51 class FaerieMUD::Entity < FaerieMUD::GameObject 52 contributors :ged 52 53 include FaerieMUD::Hookable, 53 54 FaerieMUD::Debuggable, -
branches/simplest-thing/lib/fm/events/astronomical.rb
r172 r198 27 27 ### The base class for all events which are fired from the Astronomy science. 28 28 class AstronomicalEvent < FaerieMUD::ScienceEvent 29 contributors :ged 29 30 30 31 # SVN Revision -
branches/simplest-thing/lib/fm/events/meteorological.rb
r175 r198 26 26 ### An object class for events generated by the Meteorology science. 27 27 class FaerieMUD::MeteorologicalEvent < FaerieMUD::ScienceEvent 28 contributors :ged, :aidan 28 29 29 30 # SVN Revision -
branches/simplest-thing/lib/fm/events/perceptual.rb
r190 r198 37 37 ### FaerieMUD::Perception objects. 38 38 class PerceptionEvent < FaerieMUD::Event 39 contributors :ged 39 40 end # class PerceptionEvent 40 41 -
branches/simplest-thing/lib/fm/gameobject.rb
r197 r198 142 142 ### I N S T A N C E M E T H O D S 143 143 ############################################################# 144 145 # This must come after the declaration of the contributors method above. 146 contributors :ged 144 147 145 148 ### Initialize a new FaerieMUD::GameObject. Arguments in the -
branches/simplest-thing/lib/fm/locus.rb
r188 r198 7 7 # have componented construction/internal location, and have their own Mana 8 8 # potential. They also introduce event propagation, which is the system which 9 # causes events to move from one object to another based on their relationships 10 # of containment. 9 # causes events to move from one object to another based on their relationships. 11 10 # 12 11 # == Location … … 29 28 # Some derivatives of Locus will probably need to define additional behaviours 30 29 # and attributes to express their ideas of what containment means to them. 31 #32 # === Collision33 #34 # Most of FaerieMUD's collision system is contained in this class. Each Locus35 # contains a FaerieMUD::Physics::Geometry and a36 # FaerieMUD::Physics::TransformGroup. The Geometry is the object which contains37 # the object's location in the game world relative to its container. The38 # TransformGroup aggregates groups of objects together so they can be39 # transformed (ie., moved, rotated, etc.) as one object. Objects which are added40 # to the contents will be added to the TransformGroup.41 30 # 42 31 # === Local Coordinates … … 49 38 # or a simple location list for smaller objects. 50 39 # 40 # === Collision 41 # 42 # When two loci try to occupy the same space, a collision results. Most of 43 # FaerieMUD's collision system is contained in this class. Each Locus contains a 44 # FaerieMUD::Physics::Geometry and a FaerieMUD::Physics::TransformGroup. The 45 # Geometry is the object which contains the object's location in the game world 46 # relative to its container. The TransformGroup aggregates groups of objects 47 # together so they can be transformed (ie., moved, rotated, etc.) as one 48 # object. Objects which are added to the contents will be added to the 49 # TransformGroup. 50 # 51 51 # ==== Componented Construction 52 52 # … … 104 104 require 'fm/exceptions' 105 105 106 module FaerieMUD107 108 106 ### Object class for Entities which occupy a location, have geometry and 109 107 ### orientation, are capable of colliding with each other, have relationships of 110 108 ### containment with one another, and have their own Mana potential. Also 111 109 ### contains the base event propagation subsystem. 112 class Locus < FaerieMUD::Entity 110 class FaerieMUD::Locus < FaerieMUD::Entity 111 contributors :ged 113 112 114 113 # SVN Revision … … 293 292 294 293 295 end # class Locus 296 end # module FaerieMUD 297 294 end # class FaerieMUD::Locus 295 -
branches/simplest-thing/lib/fm/verb.rb
r188 r198 30 30 ### Game verb class 31 31 class FaerieMUD::Verb < FaerieMUD::GameObject 32 contributors :ged 32 33 include Singleton 33 34
