Files
src-1.2/engine/server/library/serverGame/src/shared/space/ShipInternalDamageOverTimeManager.h
T

38 lines
1.2 KiB
C++
Executable File

//======================================================================
//
// ShipInternalDamageOverTimeManager.h
// copyright (c) 2004 Sony Online Entertainment
//
//======================================================================
#ifndef INCLUDED_ShipInternalDamageOverTimeManager_H
#define INCLUDED_ShipInternalDamageOverTimeManager_H
//======================================================================
class ShipInternalDamageOverTime;
class ShipObject;
//----------------------------------------------------------------------
class ShipInternalDamageOverTimeManager
{
public:
typedef stdvector<ShipInternalDamageOverTime>::fwd IdotVector;
static void install();
static void remove();
static void update(float elapsedTime);
static bool setEntry(ShipObject const & ship, int chassisSlot, float damageRate, float damageThreshold);
static bool removeEntry(ShipObject const & ship, int chassisSlot);
static ShipInternalDamageOverTime const * const findEntry(ShipObject const & ship, int chassisSlot);
static IdotVector const & getActiveShipInternalDamageOverTime();
};
//======================================================================
#endif