2021-06-10 02:38:47 +02:00
|
|
|
package gameplay.Characters.Blue;
|
|
|
|
|
2021-06-10 11:50:38 +02:00
|
|
|
import gameplay.actions.*;
|
2021-06-10 02:38:47 +02:00
|
|
|
import gameplay.entities.Character;
|
2021-06-10 10:06:44 +02:00
|
|
|
import gameplay.frames.Frame;
|
2021-06-16 10:40:46 +02:00
|
|
|
import gameplay.Characters.Blue.BlueBaseFrames.*;
|
2021-06-10 11:50:38 +02:00
|
|
|
import gameplay.input.ButtonIG;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
2021-06-10 10:06:44 +02:00
|
|
|
|
2021-06-16 10:40:46 +02:00
|
|
|
import static gameplay.Characters.Blue.BlueNormals.*;
|
2021-06-16 11:04:20 +02:00
|
|
|
import static gameplay.Characters.Blue.BlueSpecials.blueLDP;
|
2021-06-10 10:06:44 +02:00
|
|
|
import static gameplay.input.ButtonIG.*;
|
2021-06-10 02:38:47 +02:00
|
|
|
|
|
|
|
public class CharacterBlue {
|
2021-06-10 10:06:44 +02:00
|
|
|
public static Character generateCharBlue(){
|
|
|
|
Frame[] standF = BlueBaseFrames.blueStandFrames();
|
|
|
|
Frame[] crouchF = BlueBaseFrames.blueCrouchFrames();
|
|
|
|
Frame[] nJumpF = BlueBaseFrames.blueNeutralJump();
|
|
|
|
Frame[] fJumpF = BlueBaseFrames.blueForwardJump();
|
|
|
|
Frame[] bJumpF = BlueBaseFrames.blueBackJump();
|
|
|
|
Frame[] fWalkF = BlueBaseFrames.blueFWalk();
|
|
|
|
Frame[] bWalkF = BlueBaseFrames.blueBWalk();
|
|
|
|
|
2021-06-10 11:50:38 +02:00
|
|
|
ButtonIG[][] fjcmd = {{UP,FORWARD}};
|
|
|
|
ButtonIG[][] bjcmd = {{UP,BACK}};
|
|
|
|
ButtonIG[][] njcmd = {{UP}};
|
|
|
|
|
|
|
|
|
|
|
|
Jump fJ = new Jump(fjcmd,fJumpF);
|
|
|
|
Jump nJ = new Jump(njcmd,nJumpF);
|
|
|
|
Jump bJ = new Jump(bjcmd,bJumpF);
|
|
|
|
|
2021-06-17 18:59:46 +02:00
|
|
|
Attack[] atks = {blueLDP(),blueFordwardRoundHouse(),blueCrouchFierce(),blueCrouchJab(),blueStandHeavyKick(),blueStandJab(),blueFordwardRoundHouse()};
|
2021-06-15 23:21:37 +02:00
|
|
|
|
2021-06-20 17:25:06 +02:00
|
|
|
Frame shf = BlueMisc.blueStandHit();
|
|
|
|
Frame chf = BlueMisc.blueCrouchHit();
|
2021-06-20 17:45:25 +02:00
|
|
|
Frame sbf = BlueMisc.blueStandGuard();
|
|
|
|
Frame cbf = BlueMisc.blueCrouchGuard();
|
2021-06-10 11:50:38 +02:00
|
|
|
/*
|
|
|
|
* Temporary values to change later
|
|
|
|
*/
|
2021-06-16 12:02:39 +02:00
|
|
|
Frame[] fDashF = BlueMisc.blueFDash();
|
|
|
|
Frame[] bDashF = BlueMisc.blueBDash();
|
2021-06-10 11:50:38 +02:00
|
|
|
|
|
|
|
ThrowPart[] tp = new ThrowPart[0];
|
|
|
|
|
|
|
|
ButtonIG[][] throwCMD = {{BACK,FORWARD,UP,DOWN},{BACK,FORWARD,UP,DOWN},{BACK,FORWARD,UP,DOWN}};
|
2021-06-16 12:12:47 +02:00
|
|
|
ButtonIG[][] fdashCMD = {{FORWARD},{},{FORWARD}};
|
|
|
|
ButtonIG[][] bdashCMD = {{BACK},{},{BACK}};
|
2021-06-10 11:50:38 +02:00
|
|
|
|
|
|
|
Throw th = new Throw(false,throwCMD,tp);
|
|
|
|
Dash fDash = new Dash(fdashCMD,fDashF);
|
|
|
|
Dash bDash =new Dash(bdashCMD,bDashF);
|
|
|
|
|
|
|
|
Frame[] fallingFs = new Frame[0];
|
|
|
|
|
|
|
|
Frame f = new Frame();
|
|
|
|
|
2021-06-15 23:21:37 +02:00
|
|
|
|
2021-06-10 11:50:38 +02:00
|
|
|
|
2021-06-20 17:45:25 +02:00
|
|
|
Character c = new Character(0,0,standF[0],1000,atks,fJ,nJ,bJ,fDash,bDash,th,standF,crouchF,fWalkF,bWalkF,f,f,fallingFs,sbf,cbf,shf,chf);
|
2021-06-10 11:50:38 +02:00
|
|
|
|
|
|
|
return c;
|
2021-06-10 02:38:47 +02:00
|
|
|
}
|
|
|
|
}
|