mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-19 09:02:53 -04:00
Added serverGame library
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//======================================================================
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user