Page MenuHomePhorge

Unit.cpp
No OneTemporary

Size
224 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, 6:33 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
281484
Default Alt Text
Unit.cpp (224 B)

Event Timeline