11 lines
262 B
Plaintext
11 lines
262 B
Plaintext
// Base class for simple world objects (buildings and structures)
|
|
// Provides common position field for world objects that only need to track location
|
|
|
|
class WorldLocationBase {
|
|
int position;
|
|
|
|
WorldLocationBase(int pos) {
|
|
position = pos;
|
|
}
|
|
}
|