Exemple #1
0
 public PlayerEntity(WorldSystem.Region tregion, Connection conn, string name)
     : base(tregion)
 {
     Name = name;
     model = "players/human_male_004";
     mod_zrot = 270;
     mod_scale = 1.5f;
     base.SetMaxHealth(100);
     base.SetHealth(100);
     Network = conn;
     SetMass(tmass);
     CanRotate = false;
     SetPosition(TheRegion.TheWorld.SpawnPoint);
     Items = new PlayerInventory(this);
 }
Exemple #2
0
 public WebPage(Server tserver, Connection conn)
 {
     TheServer = tserver;
     Network = conn;
 }