1 #ifndef JUMP_DECORATOR_H_
2 #define JUMP_DECORATOR_H_
4 #include "ICelebrationDecorator.h"
31 double jumpHeight = 10;
this class inhertis from the IStrategy class and is represents a celebration decorator where the enti...
Definition: ICelebrationDecorator.h:11
Represents an entity in a physical system.
Definition: IEntity.h:22
Strategy interface.
Definition: IStrategy.h:11
this class inhertis from the IStrategy class and is represents a celebration decorator where the enti...
Definition: JumpDecorator.h:11
JumpDecorator(IStrategy *strategy, double time=4, double jumpHeight=10)
Construct a new Jump Decorator object.
void celebrate(IEntity *entity, double dt)
Make the entity celebrate with the jump behavior.