Пример #1
0
 public void Reset()
 {
     transform.position = new Vector3(0, 0.65f, -1);
     transform.rotation = Quaternion.identity;
     transform.Find("Weapon").localPosition = new Vector3(1.8f, 0.3f, -1f);
     transform.Find("Weapon").localRotation = Quaternion.Euler(0, 0, -30);
     topHeight       = 7.65f;
     horizontalSpeed = 0;
     pos.y           = 0.65f;
     hp.Reset();
 }
Пример #2
0
        public IResettable Reset()
        {
            ImagePath           = string.Empty;
            Modifier            = string.Empty;
            Name                = string.Empty;
            DexEntry            = string.Empty;
            Weakness.Value      = CardProperties.Type.Colorless;
            Weakness.IsActive   = false;
            Resistance.Value    = CardProperties.Type.Colorless;
            Resistance.IsActive = false;
            HP.Reset();
            Level.Reset();
            Type.Value   = CardProperties.Type.Colorless;
            Rarity.Value = CardProperties.Rarity.Common;

            return(this);
        }
Пример #3
0
 public void Setup()
 {
     Paused = false;
     HP.Reset();
 }