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

            canBuild = true;

            type = ConstructableType.BRICK;             //test
        }
Exemplo n.º 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;
Exemplo n.º 4
0
 public StaticProject(ConstructableType type)
 {
     this.Type = type;
 }