Page MenuHomePhorge

Unit.cpp
No OneTemporary

Size
248 B
Referenced Files
None
Subscribers
None

Unit.cpp

#include "Unit.h"
unsigned int Unit :: num_of_units = 0;
Unit :: Unit() {
this->id = num_of_units;
num_of_units++;
}
void Unit :: set_id(unsigned int id) {
this->id = id;
}
unsigned int Unit :: get_id() {
return this->id;
}

File Metadata

Mime Type
text/x-c
Expires
Sun, Mar 1, 9:31 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
279981
Default Alt Text
Unit.cpp (248 B)

Event Timeline