Ejemplo n.º 1
0
        public IStructure CreateStructure(ushort type, byte level, uint x, uint y)
        {
            var structure = gameObjectFactory.CreateStructure(Id, objectIdGen.GetNext(), type, level, x, y, DefaultTheme);

            Add(structure.ObjectId, structure, true);
            return(structure);
        }