Esempio n. 1
0
 public T this[int x, int y]
 {
     get     { return(MapUtils <T> .GetAt(this.dataBuff, this.xRes, x, y)); }
     set { MapUtils <T> .SetAt(this.dataBuff, this.xRes, x, y, value); }
 }
Esempio n. 2
0
 public T this[int index]
 {
     get     { return(MapUtils <T> .GetAt(this.dataBuff, index)); }
     set { MapUtils <T> .SetAt(this.dataBuff, index, value); }
 }
Esempio n. 3
0
 protected void SetAt(IntPtr dataBuff, int x, int y, int value)
 {
     MapUtils <UInt16> .SetAt(dataBuff, XRes, x, y, (UInt16)value);
 }
Esempio n. 4
0
 protected int GetAt(IntPtr dataBuff, int x, int y)
 {
     return(MapUtils <UInt16> .GetAt(dataBuff, XRes, x, y));
 }
Esempio n. 5
0
 protected void SetAt(IntPtr dataBuff, int index, int value)
 {
     MapUtils <UInt16> .SetAt(dataBuff, index, (UInt16)value);
 }
Esempio n. 6
0
 protected int GetAt(IntPtr dataBuff, int index)
 {
     return(MapUtils <UInt16> .GetAt(dataBuff, index));
 }