9 #ifndef _TurtleBrains_EffectsBehaviors_h_
10 #define _TurtleBrains_EffectsBehaviors_h_
12 #include "../../game/tb_entity_behavior_interface.h"
13 #include "../../game/tb_game_timer.h"
14 #include "../../graphics/tb_animated_sprite.h"
15 #include "../../graphics/tb_camera.h"
49 const tbCore::tbString& sequenceName,
bool isLooping =
false,
bool isForward =
true);
65 virtual void OnResume(
void)
override;
78 const bool mIsLooping;
79 const bool mIsForward;
107 virtual void OnResume(
void)
override;
142 virtual void OnResume(
void)
override;
151 const float mShakeDuration;
177 virtual void OnResume(
void)
override;
Definition: tb_graphic.h:61
virtual void OnResume(void) override
virtual void OnResume(void) override
Definition: tb_entity.h:46
virtual void OnSimulate(void) override
virtual void OnResume(void) override
THIS IS NOT TO LIVE HERE VERY LONG!!! TODO: TurtleBrains: MOVE.
Definition: tbx_effects_behaviors.h:161
IntensityLevel
Definition: tb_camera.h:55
virtual void OnSimulate(void) override
virtual ~ShakeScreenBehavior(void)
Definition: tb_entity_behavior_interface.h:25
virtual ~PlaySoundBehavior(void)
A collection of objects and functions to express games quickly.
Definition: tb_color.h:23
virtual ~PlayAnimationBehavior(void)
Definition: tbx_effects_behaviors.h:126
FadeColorBehavior(tbGame::Entity &entity, tbGraphics::Graphic &graphic, const tbGraphics::Color &desiredColor, const tbGame::GameTimer &time)
virtual ~FadeColorBehavior(void)
Contains high-level objects to control the entities in game worlds.
virtual void OnResume(void) override
ShakeScreenBehavior(tbGame::Entity &entity, const tbGraphics::Camera::IntensityLevel &shakeIntensity, float shakeDuration=-1.0f)
Definition: tbx_effects_behaviors.h:31
virtual void OnSimulate(void) override
virtual void OnSimulate(void) override
PlayAnimationBehavior(tbGame::Entity &entity, tbGraphics::AnimatedSprite &animatedSprite, const tbCore::tbString &sequenceName, bool isLooping=false, bool isForward=true)
Definition: tbx_effects_behaviors.h:91
std::string tbString
Definition: tb_string.h:335
Definition: tb_animated_sprite.h:119
Definition: tb_game_timer.h:25
PlaySoundBehavior(tbGame::Entity &entity, const tbCore::tbString &eventTableName, const tbCore::tbString &eventName)