Exemplo n.º 1
0
 private void SaveObject(DataFileWriter writer, GameObject o)
 {
     writer.WriteWord(o.Graphics.Index);
     writer.WriteByte(o.Graphics.Color1);
     writer.WriteByte(o.Graphics.Color2);
     writer.WriteByte(o.Graphics.Color3);
     writer.WriteBytes(o.Bytes);
 }