Пример #1
0
        public Structure(StructureDefinition.StructureType type, IStructureBehaviour behaviour, Coord coord, bool requiresLink = true)
        {
            Type      = type;
            Behaviour = behaviour;

            RequiresLink = requiresLink;


            Coord = coord;

            StructureEventManager.StructurePlanned(this);
        }
 private void AddBehavior(IStructureBehaviour behavior)
 {
     _behaviorLookup.Add(behavior.GetType().Name, behavior);
 }