rename blueprint to schematic
This commit is contained in:
@@ -19,7 +19,7 @@ public:
|
||||
std::function<EntityId()> allocateId);
|
||||
|
||||
// isEnemy defaults to false; set true for enemy-faction ships (step 7 wave spawning).
|
||||
EntityId spawn(const std::string& blueprintId, int level, QVector2D position,
|
||||
EntityId spawn(const std::string& schematicId, int level, QVector2D position,
|
||||
bool isEnemy = false);
|
||||
void despawn(EntityId id);
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
bool damageShip(EntityId id, float amount);
|
||||
|
||||
private:
|
||||
const ShipDef* findShipDef(const std::string& blueprintId) const;
|
||||
const ShipDef* findShipDef(const std::string& schematicId) const;
|
||||
|
||||
// True if the entity identified by id is alive and within range of ship.
|
||||
// Searches both the ship list and (for buildings) the supplied BuildingSystem.
|
||||
|
||||
Reference in New Issue
Block a user