summaryrefslogtreecommitdiffstats
path: root/game/code/mission/respawnmanager/respawnmanager.h
blob: 981d621e3ccb1427dea249b4f8e1e6a560b0007c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef RESPAWNMANAGER_H
#define RESPAWNMANAGER_H

#include <mission\respawnmanager\respawnentity.h>


//ReSpawnManager. 

class RespawnManager 
    {
    public:                   


         //constructor and destructor
        RespawnManager();
        ~RespawnManager();        
        
   
        int SetWrenchRespawnTime(int milliseconds);
        int SetWaspRespawnTime(int milliseconds);
        int SetNitroRespawnTime(int milliseconds);

        int GetWrenchRespawnTime();
        int GetWaspRespawnTime();
        int GetNitroRespawnTime();       

        //called in the constructor of the the RespawnEntity
        int GetRespawnTime(RespawnEntity::eRespawnEntity entitytype); 
       
    
    private:
    
        int mWrenchRespawnTime; //in milliseconds
        int mWaspRespawnTime;
        int mNitroRespawnTime;


       
        
        //private methods

       
    };



        
#endif //RESPAWNMANAGER_H