Exemple #1
0
 public void AddSprite(string path, string name)
 {
     rawSpr.Add(new Bitmap(path));
     texturenamesSpr.AddEntry(name, counterSpr++);
 }
Exemple #2
0
 public void AddGUI(string path, string name)
 {
     rawGui.Add(new Bitmap(path));
     texturenamesGui.AddEntry(name, counterGui++);
 }
Exemple #3
0
 public void AddLayer(string name, Layer layer)
 {
     textures.AddEntry(name, layer.t);
     widths.AddEntry(name, layer.w);
     heights.AddEntry(name, layer.h);
 }