Use() public method

public Use ( Entity entity ) : void
entity Entity
return void
Exemplo n.º 1
0
        public void StripUserWeapons()
        {
            Entity strip = new Entity("player_weaponstrip");

            strip.Spawn();
            strip.Use(this);
            strip.Remove();

            // TODO: set active weapon to 0
        }
Exemplo n.º 2
0
        public void StripUserWeapons()
        {
            Entity strip = new Entity("player_weaponstrip");
            strip.Spawn();
            strip.Use(this);
            strip.Remove();

            // TODO: set active weapon to 0
        }