Files
src-1.2/engine/server/library/serverGame/src/shared/space/ShipInternalDamageOverTimeManager.h
T
2014-01-15 03:59:18 -07:00

38 lines
1.2 KiB
C++

//======================================================================
//
// 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