20 lines
No EOL
275 B
C
20 lines
No EOL
275 B
C
# src/building.h
|
|
|
|
#ifndef BUILDING_H
|
|
#define BUILDING_H
|
|
|
|
#include "entity.h"
|
|
|
|
enum BuildingType {
|
|
BUILDING_HQ,
|
|
BUILDING_BARRACKS,
|
|
BUILDING_COUNT
|
|
};
|
|
|
|
typedef struct {
|
|
Entity entity;
|
|
BuildingType type;
|
|
int resourceCost;
|
|
} Building;
|
|
|
|
#endif // BUILDING_H
|