SurvivorNinja.Behaviors.PlayerBehavior.DefaultValues C# (CSharp) Méthode

DefaultValues() protected méthode

Sets the default values
protected DefaultValues ( ) : void
Résultat void
        protected override void DefaultValues()
        {
            base.DefaultValues();

            this.shootCadence = TimeSpan.FromMilliseconds(300);
            this.time = this.shootCadence;
            this.velocity = 5;
            this.textureDirection = new Vector2(0, -1);
            this.borderMargin = 100;
        }