Use() public method

public Use ( Entity entity ) : void
entity Entity
return void
Beispiel #1
0
        public void StripUserWeapons()
        {
            Entity strip = new Entity("player_weaponstrip");

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

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

            // TODO: set active weapon to 0
        }