1 #ifndef SPIN_DECORATOR_H_
2 #define SPIN_DECORATOR_H_
4 #include "ICelebrationDecorator.h"
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: SpinDecorator.h:11
void celebrate(IEntity *entity, double dt)
Move the entity with the spin behavior for 4 seconds.
SpinDecorator(IStrategy *strategy, double time=4, double spinSpeed=1)
Construct a new Spin Decorator object.