private short individualInTile; //Index from an array. must have error checking & update the variable as needed. public void InitializeLocationTile(GroundTile groundType, StructureTile structureType, StructureTileAttribute structureTypeAttribute) { ground = groundType; structure = structureType; structureAttribute = structureTypeAttribute; individualInTile = -1; }
public void SetStructureAttribute(StructureTileAttribute newAttribute) { structureAttribute = newAttribute; }