Revision 1378,
503 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Line | |
---|
1 | #include "dxstdafx.h"
|
---|
2 | #include ".\sharedresource.h"
|
---|
3 |
|
---|
4 | SharedResource::SharedResource(void)
|
---|
5 | {
|
---|
6 | this->available = false;
|
---|
7 | }
|
---|
8 |
|
---|
9 | SharedResource::~SharedResource(void)
|
---|
10 | {
|
---|
11 | }
|
---|
12 |
|
---|
13 | void SharedResource::setResourceIdentifier(int _id)
|
---|
14 | {
|
---|
15 | this->id = _id;
|
---|
16 | }
|
---|
17 |
|
---|
18 | int SharedResource::getResourceIdentifier()
|
---|
19 | {
|
---|
20 | return this->id;
|
---|
21 | }
|
---|
22 |
|
---|
23 | bool SharedResource::isResourceAvailable()
|
---|
24 | {
|
---|
25 | return this->available;
|
---|
26 | }
|
---|
27 |
|
---|
28 | void SharedResource::setResourceAvailable(bool _available)
|
---|
29 | {
|
---|
30 | this->available = _available;
|
---|
31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.