projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New GameObject SpriteParticle
[supertux.git]
/
src
/
object
/
floating_image.cpp
diff --git
a/src/object/floating_image.cpp
b/src/object/floating_image.cpp
index
4dc8c6a
..
6041bae
100644
(file)
--- a/
src/object/floating_image.cpp
+++ b/
src/object/floating_image.cpp
@@
-46,6
+46,18
@@
FloatingImage::update(float elapsed_time)
}
void
+FloatingImage::set_action(const std::string& action)
+{
+ sprite->set_action(action);
+}
+
+std::string
+FloatingImage::get_action()
+{
+ return sprite->get_action();
+}
+
+void
FloatingImage::draw(DrawingContext& context)
{
if(!visible)