Ejemplo n.º 1
0
 public void ChangeGoatAction(GoatActions action)
 {
     if (goatActions != action)
     {
         goatActions     = action;
         changeAnimation = true;
     }
 }
Ejemplo n.º 2
0
 public Goat(Animation animation, Animation deadAnimation, Aim aim, Texture2D measureBar,
             string id, int maxHp, int maxSp, float spRegen, float move, float maximumFallingSpeed,
             Vector2 distanceToHand, Side side, Inputs inputs,
             Texture2D disconnectionTexture, Love love, RoutesConfiguration routesConfiguration)
     : base(animation, deadAnimation, aim, measureBar, id, maxHp, maxSp, spRegen, move, maximumFallingSpeed,
            distanceToHand, side, inputs)
 {
     this.disconnectionTexture = disconnectionTexture;
     this.love = love;
     this.routesConfiguration = routesConfiguration;
     disconnections           = new List <Projectile>();
     goatActions           = GoatActions.None;
     disconnectionManaCost = 25;
     configuringRoutes     = false;
 }
Ejemplo n.º 3
0
 public override void ResetPlayer()
 {
     base.ResetPlayer();
     goatActions       = GoatActions.None;
     configuringRoutes = false;
 }