113 bulletProperties.setActivationState(CBulletProperties::ActivationState::DisableDeactivation);
117 connect(go_up, SIGNAL(onActionStart(
CAction*)),
this, SLOT(onGoUpActionStart(
CAction*)));
122 connect(slide, SIGNAL(onActionStart(
CAction*)),
this, SLOT(onSlideActionStart(
CAction*)));
126 connect(go_down, SIGNAL(onActionStart(
CAction*)),
this, SLOT(onGoDownActionStart(
CAction*)));
129 connect(sequence, SIGNAL(onActionDone(
CAction*)),
this, SLOT(onSequenceDone(
CAction*)));
141 void CEnemyTarget::onGoUpActionStart(
CAction* action) {
142 deployIntoDynamicsWorld();
159 void CEnemyTarget::onGoDownActionStart(
CAction* action) {
166 void CEnemyTarget::onSequenceDone(
CAction* action) {
172 void CEnemyTarget::onSlideActionStart(
CAction* action) {
void setSlideLength(float slide_length)
Main header file of the irrKlang sound library, the only file needed to include.
virtual bool drop()=0
Drops the object. Decrements the reference counter by one.
float launcherHeight() const
void setDelayTime(float delay_time)
Represents a sound which is currently played.
void setDoSlide(bool do_slide)
const btVector3 & size() const
virtual CActionInterval * reverse()
void setLauncherHeight(float launcher_height)
virtual void stopAllSounds()
float exposureTime() const
virtual void aboutToBeRemoved()
static CFiniteTimeAction * actions(CFiniteTimeAction *action,...)
float slideLength() const
virtual void damageReceived(int damage)
virtual void stop()=0
Will stop the sound and free its resources.
void setExposureTime(float exposure_time)