void Start()
        {
            constructionContainer = GetComponent <ConstructionContainer>();

            canBuild = true;

            type = ConstructableType.BRICK;             //test
        }
예제 #2
0
        public bool Compare(IConstructionProject project, ConstructableType targetType)
        {
            this.found      = false;
            this.targetType = targetType;
            project.Accept(this);

            return(this.found);
        }
 public InteractionRestrictionConstructableType(ConstructableType type) => this.Type = type;
예제 #4
0
 public StaticProject(ConstructableType type)
 {
     this.Type = type;
 }