27 #ifndef ELEMENT_WALL_H
28 #define ELEMENT_WALL_H
39 #define WALL_VERSION 1
45 typedef typename CC::ATOM_TYPE T;
46 typedef typename CC::PARAM_CONFIG P;
47 enum { R = P::EVENT_WINDOW_RADIUS };
51 static const u32 TYPE() {
63 static T defaultAtom(TYPE(),0,0,0);
79 return "The Element which represents an immovable wall. Other Elements may "
80 "modify the position or existance of this Wall, but most Elements like "
90 const T& me,
const SPoint& offset)
const
100 Element_Wall<CC> Element_Wall<CC>::THE_INSTANCE;
virtual const char * GetDescription() const
Definition: Element_Wall.h:77
u32 GetType() const
Definition: Element.h:290
virtual u32 PercentMovable(const T &you, const T &me, const SPoint &offset) const
Definition: Element_Wall.h:89
bool Equals(const Point< T > &rhs) const
Definition: Point.tcc:205
virtual u32 Diffusability(EventWindow< CC > &ew, SPoint nowAt, SPoint maybeAt) const
Definition: Element_Wall.h:84
void SetName(const char *name)
Definition: Element.h:209
void SetAtomicSymbol(const char *symbol)
Definition: Element.h:193
virtual u32 DefaultLowlightColor() const
Definition: Element_Wall.h:72
virtual void Behavior(EventWindow< CC > &window) const
Definition: Element_Wall.h:95
virtual u32 DefaultPhysicsColor() const
Definition: Element_Wall.h:67
virtual const T & GetDefaultAtom() const
Definition: Element_Wall.h:61
Definition: Element_Wall.h:42
Definition: ElementTable.h:43