示例#1
0
 public override void RemoveFromRenderer()
 {
     base.RemoveFromRenderer();
     foreach (Door d in doors)
     {
         RenderingDevice.Remove(d);
     }
 }
示例#2
0
 public void End()
 {
     foreach (Actor a in actorList)
     {
         RenderingDevice.Remove(a);
         GameManager.Space.Remove(a);
     }
     GameManager.Space.Remove(Player);
     RenderingDevice.Remove(Player);
     if (august.Space != null)
     {
         GameManager.Space.Remove(august);
     }
     RenderingDevice.Remove(august);
     actorList.Clear();
     Player.Deactivate();
     createActors();
 }
示例#3
0
 public void RemoveFromRenderer()
 {
     RenderingDevice.Remove(Model);
 }
示例#4
0
 public override void RemoveFromRenderer()
 {
     RenderingDevice.Remove(sword);
 }
示例#5
0
文件: Actor.cs 项目: snoozbuster/ld28
 protected virtual void onDeath(Actor killer)
 {
     Space.Remove(this);
     RenderingDevice.Remove(this);
     Inactive = true;
 }