示例#1
0
 /// <summary>
 /// Spawn NPC to specified client
 /// </summary>
 /// <param name="cli"></param>
 public void SpawnToClient(Client cli)
 {
     NonPlayerCharacterSpawn.SpawnNpcToClient(this, cli, false);
 }
示例#2
0
 /// <summary>
 /// Spawns this NPC to every client in given playfield.
 /// </summary>
 /// <param name="playfield">Playfield to spawn to</param>
 public void SpawnToPlayfield(int playfield)
 {
     NonPlayerCharacterSpawn.SpawnNpcToClient(this, null, true);
 }