#include "Model.h" #include "RocketEntity.h" #include "Controller.h" #include namespace asteroids { void RocketEntity::Update (float delta_sec) { mSecToLive -= delta_sec; if (mSecToLive <= 0.) Engine::KillEntity (mId); } }