Examples of ToggleShooting


Examples of com.palepail.TestGame.Actions.ToggleShooting

    sequentialScript.add(new MoveTo(this, new Vector2(11 * Configuration.gameScale, 14 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(12 * Configuration.gameScale, 13 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(13 * Configuration.gameScale, 10 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(14 * Configuration.gameScale, 6 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(15 * Configuration.gameScale, 3 * Configuration.gameScale)));
    sequentialScript.add(new ToggleShooting(this, false));
    sequentialScript.add(new MoveTo(this, new Vector2(16 * Configuration.gameScale, -3 * Configuration.gameScale)));

  }
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

    sequentialScript.add(new MoveTo(this, new Vector2(9 * Configuration.gameScale, 14 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(8 * Configuration.gameScale, 13 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(6 * Configuration.gameScale, 10 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(5 * Configuration.gameScale, 6 * Configuration.gameScale)));
    sequentialScript.add(new MoveTo(this, new Vector2(4 * Configuration.gameScale, 3 * Configuration.gameScale)));
    sequentialScript.add(new ToggleShooting(this, false));
    sequentialScript.add(new MoveTo(this, new Vector2(3 * Configuration.gameScale, -3 * Configuration.gameScale)));

  }
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

  protected void setStage(int stage) {
    switch (stage) {
    case 3: {
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
          10));
      sequentialScript.add(new ToggleShooting(this, true, 1, 100));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(3 * Configuration.gameScale, 14 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      break;
    }
    case 2: {
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
          10));
      sequentialScript.add(new ToggleShooting(this, true, 1, 100));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(3 * Configuration.gameScale, 14 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      break;
    }
    case 1: {
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
          10));
      sequentialScript.add(new ToggleShooting(this, true, 1, 100));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
          10));
      sequentialScript.add(new Wait(this, 100));
      sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

    script.add(new MoveTo(this, new Vector2(11 * Configuration.gameScale, 14 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(12 * Configuration.gameScale, 13 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(13 * Configuration.gameScale, 10 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(14 * Configuration.gameScale, 6 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(15 * Configuration.gameScale, 3 * Configuration.gameScale)));
    script.add(new ToggleShooting(this, false));
    script.add(new MoveTo(this, new Vector2(16 * Configuration.gameScale, -3 * Configuration.gameScale)));

  }
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

    script.add(new MoveTo(this, new Vector2(9 * Configuration.gameScale, 14 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(8 * Configuration.gameScale, 13 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(6 * Configuration.gameScale, 10 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(5 * Configuration.gameScale, 6 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(4 * Configuration.gameScale, 3 * Configuration.gameScale)));
    script.add(new ToggleShooting(this, false));
    script.add(new MoveTo(this, new Vector2(3 * Configuration.gameScale, -3 * Configuration.gameScale)));

  }
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

  }

  public void setDownCrossLeftScript() {

    script.add(new MoveTo(this, new Vector2(5, 19)));
    script.add(new ToggleShooting(this, true, 3));
    script.add(new MoveTo(this, new Vector2(8, 17)));
    script.add(new MoveTo(this, new Vector2(10, 15)));
    script.add(new MoveTo(this, new Vector2(11, 14)));
    script.add(new MoveTo(this, new Vector2(12, 13)));
    script.add(new MoveTo(this, new Vector2(13, 10)));
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

  }

  public void setDownCrossRightScript() {

    script.add(new MoveTo(this, new Vector2(14, 19)));
    script.add(new ToggleShooting(this, true, 3));
    script.add(new MoveTo(this, new Vector2(12, 17)));
    script.add(new MoveTo(this, new Vector2(10, 15)));
    script.add(new MoveTo(this, new Vector2(9, 14)));
    script.add(new MoveTo(this, new Vector2(8, 13)));
    script.add(new MoveTo(this, new Vector2(6, 10)));
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

  }

  public void setRightDownUpScript() {

    script.add(new MoveTo(this, new Vector2(14 * Configuration.gameScale, 19 * Configuration.gameScale)));
    script.add(new ToggleShooting(this, true, 3));
    script.add(new MoveTo(this, new Vector2(12 * Configuration.gameScale, 17 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 15 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 19 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 23 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 25 * Configuration.gameScale)));
 
View Full Code Here

Examples of com.palepail.TestGame.Actions.ToggleShooting

  }

  public void setLeftDownUpScript() {

    script.add(new MoveTo(this, new Vector2(5 * Configuration.gameScale, 19 * Configuration.gameScale)));
    script.add(new ToggleShooting(this, true, 3));
    script.add(new MoveTo(this, new Vector2(8 * Configuration.gameScale, 17 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 15 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 19 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 23 * Configuration.gameScale)));
    script.add(new MoveTo(this, new Vector2(10 * Configuration.gameScale, 25 * Configuration.gameScale)));
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.