コード例 #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);
        }
コード例 #2
0
 private void AddBehavior(IStructureBehaviour behavior)
 {
     _behaviorLookup.Add(behavior.GetType().Name, behavior);
 }