コード例 #1
0
        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;
        }
コード例 #2
0
 public void SetStructureAttribute(StructureTileAttribute newAttribute)
 {
     structureAttribute = newAttribute;
 }