Esempio n. 1
0
        protected override void OnInit()
        {
            this.DrawColor = new Color(20, 20, 20);
            this.UseCameraInput = false;

            GameMap = new SSMap(this);
            LocalPlayer = new SSPlayer(GameMap);
            Container.Add(GameMap);
            Container.Add(LocalPlayer);
        }
Esempio n. 2
0
 public override void OnPlayerTick(SSPlayer player, float level)
 {
     if (player.OxygenLevel < 1.0f)
     {
         player.OxygenLevel += level;
         if (player.OxygenLevel > 1.0f)
         {
             player.OxygenLevel = 1.0f;
         }
     }
 }
Esempio n. 3
0
 public virtual void OnPlayerTick(SSPlayer player, float level)
 {
 }
Esempio n. 4
0
 public override void OnPlayerTick(SSPlayer ply)
 {
 }
Esempio n. 5
0
 public virtual void OnPlayerTick(SSPlayer ply)
 {
 }