22 #ifndef FIFE_RENDERERNODE_H
23 #define FIFE_RENDERERNODE_H
37 class InstanceDeleteListener;
41 RendererNode(Instance* attached_instance,
const Location &relative_location, Layer* relative_layer,
const Point &relative_point = Point(0,0));
42 RendererNode(Instance* attached_instance,
const Location &relative_location,
const Point &relative_point = Point(0,0));
43 RendererNode(Instance* attached_instance, Layer* relative_layer,
const Point &relative_point = Point(0,0));
44 RendererNode(Instance* attached_instance,
const Point &relative_point = Point(0,0));
45 RendererNode(
const Location &attached_location, Layer* relative_layer,
const Point &relative_point = Point(0,0));
46 RendererNode(
const Location &attached_location,
const Point &relative_point = Point(0,0));
47 RendererNode(Layer* attached_layer,
const Point &relative_point = Point(0,0));
48 RendererNode(
const Point &attached_point);
49 RendererNode(
const RendererNode &old);
50 RendererNode& operator=(
const RendererNode &source);
53 void setAttached(Instance* attached_instance,
const Location &relative_location,
const Point &relative_point);
54 void setAttached(Instance* attached_instance,
const Location &relative_location);
55 void setAttached(Instance* attached_instance,
const Point &relative_point);
56 void setAttached(Instance* attached_instance);
57 void setAttached(
const Location &attached_location,
const Point &relative_point);
58 void setAttached(
const Location &attached_location);
59 void setAttached(Layer* attached_layer);
60 void setAttached(
const Point &attached_point);
62 void setRelative(
const Location &relative_location);
63 void setRelative(
const Location &relative_location, Point relative_point);
64 void setRelative(
const Point &relative_point);
66 Instance* getAttachedInstance();
67 Location getAttachedLocation();
68 Layer* getAttachedLayer();
69 Point getAttachedPoint();
71 Location getOffsetLocation();
72 Point getOffsetPoint();
74 Instance* getInstance();
75 Location getLocation();
76 const Location& getLocationRef();
79 const Point& getPointRef();
81 void addInstance(Instance* instance);
82 void changeInstance(Instance* instance);
83 void removeInstance(Instance* instance,
bool listener =
true);
85 Point getCalculatedPoint(Camera* cam, Layer* layer,
const bool zoomed =
false);
87 void checkDeleteListener();
93 InstanceDeleteListener* m_listener;
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...