IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Type.cs
1 using System;
2 
3 
4 namespace BlenderMeshReader
5 {
6  class Type
7  {
8  public string Name { get; set; }
9  public short Length { get; set; }
10 
11  public Type (string name, short length)
12  {
13  this.Name = name;
14  this.Length = length;
15  }
16 
17  public Type(string name)
18  {
19  this.Name = name;
20  this.Length = 0;
21  }
22 
23  public override string ToString()
24  {
25  return "(" + Name + " | " + Length + "byte)";
26  }
27  }
28 }