mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-04 05:15:51 -04:00
38 lines
1.2 KiB
C++
Executable File
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
|