예제 #1
0
 public static Entity GetEntity(uint value)
 {
     if (value == 0)
     {
     }
     else if (value == 1)
     {
         Effect e = new Effect(0, @"text\question_mark", -1F, -1F, -1, -1, -1);
         return(e);
     }
     else if (value == 2)
     {
         ItemEntity iE = new ItemEntity(-1F, -1F, -1, -1, -1, null);
         return(iE);
     }
     return(new Entity(uint.MaxValue, 0, 0, @"text\question_mark", "Blank Entity", new LootDrop[0], 0, -1F, -1F, -1, -1, -1, new float[2, 2] {
         { -0.1F, -0.1F }, { 0.1F, 0.1F }
     }));
 }