コード例 #1
0
        public void VacuumPerception1(VacuumLocation location, VacuumStatus status, byte[] documento)
        {
            this.location = location;
            this.status   = status;

            if (documento.Length > 0)
            {
                this.DocumentoInt = documento.GetHashCode();
                this.Documento    = documento;
            }
        }
コード例 #2
0
 public void SetStatus(VacuumLocation location, VacuumStatus status)
 {
     this.state[location] = status;
 }
コード例 #3
0
ファイル: VacuumPerception.cs プロジェクト: ajlopez/SharpAima
 public VacuumPerception(VacuumLocation location, VacuumStatus status)
 {
     this.location = location;
     this.status   = status;
 }