#define __LEVELFNS_H__
#include "Game.h"
#include "Level.h"
+#include "Text.h"
#include "SDL_ttf.h"
///\file LevelFns.h this file should contain all Behaviors for Levels
Sprite* sun = new Sprite("sun", l->getAnimation("sun.anim"));
sun->setPosition(480,50);
sun->setSpeed(1);
+
+ Text* helloworld = new Text("levelworld.yaml", "hello", English, 20, WHITE, 300, 20);
+ helloworld->setPosition(120, 150);
+ l->addText(helloworld);
}
void LevelWorldUpdate() {
}
}
-#endif
\ No newline at end of file
+#endif