Exemplo n.º 1
0
        public void write(Writer writer)
        {
            name.write(writer);

            writer.Write((byte)(variables.Count + 1));
            foreach (VariableInfo variable in variables)
            {
                variable.write(writer);
            }

            writer.Write((ushort)entities.Count);
            foreach (SceneEntity entity in entities)
            {
                entity.write(writer);
            }
        }
Exemplo n.º 2
0
 public void write(Writer writer)
 {
     name.write(writer);
     writer.Write((byte)type);
 }