projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
create lisp code on the fly (still no enemies showing up in editor, no idea why....
[supertux.git]
/
src
/
object
/
rock.cpp
diff --git
a/src/object/rock.cpp
b/src/object/rock.cpp
index
2b45e60
..
b79a754
100644
(file)
--- a/
src/object/rock.cpp
+++ b/
src/object/rock.cpp
@@
-6,6
+6,7
@@
#include "lisp/writer.h"
#include "video/drawing_context.h"
#include "resources.h"
+#include "object_factory.h"
Rock::Rock(const lisp::Lisp& reader)
{
@@
-73,3
+74,5
@@
Rock::grab(MovingObject& , const Vector& pos)
grabbed = true;
}
+IMPLEMENT_FACTORY(Rock, "rock")
+