Beispiel #1
0
 public List <TextureInfo> getInfoTexture(string typeMap)
 {
     Debug.Assert(DoGAAtr.getIsValidNameTypeMap(typeMap));
     if (!this.getHasInfoTexture(typeMap))
     {
         return(null);
     }
     return(this.textures[typeMap]);
 }
Beispiel #2
0
 public void addInfoTexture(string typeMap, TextureInfo infoTexture)
 {
     Debug.Assert(DoGAAtr.getIsValidNameTypeMap(typeMap));
     Debug.Assert(typeMap == infoTexture.typeMap);
     if (this.getHasInfoTexture(typeMap))
     {
         this.textures[typeMap].Add(infoTexture);
     }
     else
     {
         var infosTexture = new List <TextureInfo>();
         infosTexture.Add(infoTexture);
         this.textures.Add(typeMap, infosTexture);
     }
 }
Beispiel #3
0
 public bool getHasInfoTexture(string typeMap)
 {
     Debug.Assert(DoGAAtr.getIsValidNameTypeMap(typeMap));
     return(this.textures.ContainsKey(typeMap) ? true : false);
 }