Beta1
This commit is contained in:
@@ -57,6 +57,10 @@ public class Player2 extends Actor
|
||||
boolean isDashAttack = false;
|
||||
long dashAttackTimer2 = 0;
|
||||
boolean isBlocking = false;
|
||||
int shakra;
|
||||
int maxShakra;
|
||||
int shootCooldown = 0;
|
||||
int ultiCooldown = 0;
|
||||
|
||||
Player2(int pCharakter){
|
||||
charakter = pCharakter;
|
||||
@@ -505,6 +509,8 @@ public class Player2 extends Actor
|
||||
speedFaktor = 1;
|
||||
speedFaktor2 = speedFaktor;
|
||||
vDashSpeedCharakter = 12;
|
||||
maxShakra = 80;
|
||||
shakra = maxShakra;
|
||||
}
|
||||
if(charakter == 2){
|
||||
defaultAnimation = "Tetsu1Combo1.png";
|
||||
@@ -526,6 +532,8 @@ public class Player2 extends Actor
|
||||
speedFaktor = 0.5;
|
||||
speedFaktor2 = 0.75;
|
||||
vDashSpeedCharakter = 10;
|
||||
maxShakra = 100;
|
||||
shakra = maxShakra;
|
||||
}
|
||||
if(charakter == 3){
|
||||
defaultAnimation = "HinataShoot1.png";
|
||||
@@ -547,6 +555,8 @@ public class Player2 extends Actor
|
||||
speedFaktor = 2;
|
||||
speedFaktor2 = 8;
|
||||
vDashSpeedCharakter = 14;
|
||||
maxShakra = 60;
|
||||
shakra = maxShakra;
|
||||
}
|
||||
setImage(defaultAnimation);
|
||||
GreenfootImage image = getImage();
|
||||
|
||||
Reference in New Issue
Block a user