Ejemplo n.º 1
0
 public void KillSelf()
 {
     DeathScreenshot = new ISnakePart[BodyParts.Count];
     // Copy the final state of the snake before the death animation starts.
     BodyParts.CopyTo(DeathScreenshot, 0);
     IsDieing = true;
 }