package gameplay.Characters.Blue; import engine.Engine; import engine.math.Vector3f; import engine.object.Hitbox; import engine.object.ObjectGl; import gameplay.actions.Attack; import gameplay.actions.attackPart; import gameplay.entities.Status; import gameplay.frames.Frame; import gameplay.hitboxes.*; import gameplay.input.ButtonIG; import java.util.ArrayList; import static gameplay.input.ButtonIG.*; public class BlueNormals { private static Frame crouchAFrame1(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(0,138*2,138,138); return f; } private static Frame crouchAFrame2(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_HitBox phb3 = new Passive_HitBox(200*1.25f,-250*1.25f,400,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); Active_HitBox ahb1 = new Active_HitBox(420,-300,250,90); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); phb.add(phb3); ahb.add(ahb1); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(138,(138*2),138,138); return f; } private static Frame crouchAFrame3(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(0,138*2,138,138); return f; } private static attackPart blueCrouchAstartup() { Frame[] f = new Frame[4]; f[0] = crouchAFrame1(); f[1] = crouchAFrame1(); f[2] = crouchAFrame1(); f[3] = crouchAFrame1(); return(new attackPart(f)); } private static attackPart blueCrouchArecovery() { Frame[] f = new Frame[5]; f[0] = crouchAFrame3(); f[1] = crouchAFrame3(); f[2] = crouchAFrame3(); f[3] = crouchAFrame3(); f[4] = crouchAFrame3(); return(new attackPart(f)); } private static attackPart blueCrouchAactive() { Frame[] f = new Frame[3]; f[0] = crouchAFrame2(); f[1] = crouchAFrame2(); f[2] = crouchAFrame2(); return(new attackPart(15,0,4,4,8,3,f,false,false,false)); } public static Attack blueCrouchJab() { ButtonIG[][] cmd = {{DOWN,A}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueCrouchAstartup(),blueCrouchAactive(),blueCrouchArecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame crouchCFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(138*0,138*2,138,138); return f; } protected static Frame crouchCFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(138*7,138*2,138,138); return f; } private static Frame crouchCFrame3() { Passive_HitBox bStandPHB1 = new Passive_HitBox(300,-200,150,500); Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(200,-600,280,100); Push_HitBox bStandPB1 = new Push_HitBox(270,-170,180,540); Active_HitBox ahb1 = new Active_HitBox(400,0,90,300); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); phb.add(bStandPHB1); pthb.add(bStandPTHB1); ahb.add(ahb1); Frame f = new Frame(0.0,0.0,phb,ahb,pthb,new ArrayList(), bStandPB1,false,false,false,false,false); f.setSpriteWrap((138*8),(138*2),138,138); return f; } private static Frame crouchCFrame4() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(138*9,138*2,138,138); return f; } private static Frame crouchCFrame5() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB = new Push_HitBox(140*1.25f,-250*1.25f,280*1.25f,300*1.25f); Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-250*1.25f,200*1.25f,300*1.25f); Passive_HitBox phb2 = new Passive_HitBox(260*1.25f,-200*1.25f,80*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,300*1.25f,70*1.25f); pthb.add(pthb1); phb.add(phb1); phb.add(phb2); Frame f = new Frame(moveX,moveY,phb,ahb,pthb,athb,pB,normalC,specialC,jumpC,moveC,dashC); f.setSpriteWrap(138*10,138*2,138,138); return f; } private static attackPart blueCrouchCstartup() { Frame[] f = new Frame[5]; f[0] = crouchCFrame1(); f[1] = crouchCFrame1(); f[2] = crouchCFrame2(); f[3] = crouchCFrame2(); f[4] = crouchCFrame2(); return(new attackPart(f)); } private static attackPart blueCrouchCrecovery() { Frame[] f = new Frame[19]; int i; for(i = 0; i < 10; i++) { f[i] = crouchCFrame4(); } for(int j = i; j < f.length; j++) { f[j] = crouchCFrame5(); } return(new attackPart(f)); } private static attackPart blueCrouchCactive() { Frame[] f = new Frame[5]; for(int i = 0; i < f.length; i++) { f[i] = crouchCFrame3(); } return(new attackPart(90,0,13,29,12,5,f,false,false,false)); } public static Attack blueCrouchFierce() { ButtonIG[][] cmd = {{DOWN,C}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueCrouchCstartup(),blueCrouchCactive(),blueCrouchCrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame crouchBFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*2),0,138,138); return f; } private static Frame crouchBFrame2() { //movement data double moveX = 8.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*4),(138*14),138,138); return f; } private static Frame crouchBFrame3() { //movement data double moveX = 8.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*2),0,138,138); return f; } private static attackPart blueCrouchBstartup() { Frame[] f = new Frame[3]; f[0] = crouchBFrame1(); f[1] = crouchBFrame1(); f[2] = crouchBFrame1(); return(new attackPart(f)); } private static attackPart blueCrouchBrecovery() { Frame[] f = new Frame[4]; f[0] = crouchBFrame3(); f[1] = crouchBFrame3(); f[2] = crouchBFrame3(); f[3] = crouchBFrame3(); return(new attackPart(f)); } private static attackPart blueCrouchBactive() { Frame[] f = new Frame[4]; f[0] = crouchBFrame2(); f[1] = crouchBFrame2(); f[2] = crouchBFrame2(); f[3] = crouchBFrame2(); return(new attackPart(15,0,9,8,10,5,f,false,false,false)); } public static Attack blueCrouchShort() { ButtonIG[][] cmd = {{DOWN,B}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueCrouchBstartup(),blueCrouchBactive(),blueCrouchBrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame crouchDFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*7),(138*5),138,138); return f; } private static Frame crouchDFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*7),(138*6),138,138); return f; } private static Frame crouchDFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*7),(138*7),138,138); return f; } private static Frame crouchDFrame4() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*7),(138*8),138,138); return f; } private static attackPart blueCrouchDstartup() { Frame[] f = new Frame[4]; f[0] = crouchDFrame1(); f[1] = crouchDFrame1(); f[2] = crouchDFrame1(); f[3] = crouchDFrame1(); return(new attackPart(f)); } private static attackPart blueCrouchDrecovery() { Frame[] f = new Frame[25]; for(int i = 0; i < 15; i++) { f[i] = crouchDFrame3(); } for(int i = 15; i < f.length; i++) { f[i] = crouchDFrame4(); } return(new attackPart(f)); } private static attackPart blueCrouchDactive() { Frame[] f = new Frame[6]; for(int i = 0; i < f.length; i++) { f[i] = crouchAFrame2(); } return(new attackPart(120,0,31,10,30,15,f,true,false,true)); } public static Attack blueCrouchRoundHouse() { ButtonIG[][] cmd = {{DOWN,D}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueCrouchDstartup(),blueCrouchDactive(),blueCrouchDrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame standAFrame1(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-200*1.25f,150*1.25f,150*1.25f); Passive_HitBox phb2 = new Passive_HitBox(220*1.25f,-300*1.25f,100*1.25f,150*1.25f); Passive_HitBox phb3 = new Passive_HitBox(200*1.25f,-400*1.25f,150*1.25f,150*1.25f); Passive_HitBox phb4 = new Passive_HitBox(280*1.25f,-150*1.25f,50*1.25f,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,220*1.25f,70*1.25f); Push_HitBox pushb = new Push_HitBox(200*1.25f,-150*1.25f,160*1.25f,400*1.25f); /* adding hitboxes to lists */ phb.add(phb1); phb.add(phb2); phb.add(phb3); phb.add(phb4); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,0.0,phb,ahb,pthb,athb,pushb, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*3),0,138,138); return f; } private static Frame standAFrame2(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(200*1.25f,-200*1.25f,150*1.25f,150*1.25f); Passive_HitBox phb2 = new Passive_HitBox(220*1.25f,-300*1.25f,100*1.25f,150*1.25f); Passive_HitBox phb3 = new Passive_HitBox(200*1.25f,-450,250f,220); Passive_HitBox phb4 = new Passive_HitBox(400,-290,150,50*1.25f); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(150*1.25f,-500*1.25f,220*1.25f,70*1.25f); Push_HitBox pushb = new Push_HitBox(200*1.25f,-150*1.25f,160*1.25f,400*1.25f); Active_HitBox ahb1 = new Active_HitBox(400,-280,220,75); /* adding hitboxes to lists */ phb.add(phb1); phb.add(phb2); phb.add(phb3); phb.add(phb4); pthb.add(pthb1); ahb.add(ahb1); /* frame creation */ Frame f = new Frame(0.0,0.0,phb,ahb,pthb,athb,pushb, //cancels (in order : normal, special, jump, move, dash) false,true,false,false,false); f.setSpriteWrap((138*13),0,138,138); return f; } private static Frame standAFrame3(){ Passive_HitBox bStandPHB1 = new Passive_HitBox(200*1.25f,-200*1.25f,150*1.25f,150*1.25f); Passive_HitBox bStandPHB2 = new Passive_HitBox(220*1.25f,-300*1.25f,75*1.25f,150*1.25f); Passive_HitBox bStandPHB3 = new Passive_HitBox(200*1.25f,-400*1.25f,150*1.25f,150*1.25f); Passive_HitBox bStandPHB4 = new Passive_HitBox(250*1.25f,-150*1.25f,50*1.25f,50*1.25f); Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(200*1.25f,-500*1.25f,200*1.25f,70*1.25f); Push_HitBox bStandPB1 = new Push_HitBox(200*1.25f,-150*1.25f,160*1.25f,400*1.25f); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); phb.add(bStandPHB1); phb.add(bStandPHB2); phb.add(bStandPHB3); phb.add(bStandPHB4); pthb.add(bStandPTHB1); Frame blueStandframe1 = new Frame(0.0,0.0,phb,new ArrayList(),pthb,new ArrayList(), bStandPB1,false,true,false,false,false); blueStandframe1.setSpriteWrap(138,0,138,138); return blueStandframe1; } private static attackPart blueStandAstartup() { Frame[] f = new Frame[3]; f[0] = standAFrame1(); f[1] = standAFrame1(); f[2] = standAFrame1(); return(new attackPart(f)); } private static attackPart blueStandArecovery() { Frame[] f = new Frame[5]; f[0] = standAFrame3(); f[1] = standAFrame3(); f[2] = standAFrame3(); f[3] = standAFrame3(); f[4] = standAFrame3(); return(new attackPart(f)); } private static attackPart blueStandAactive() { Frame[] f = new Frame[3]; f[0] = standAFrame2(); f[1] = standAFrame2(); f[2] = standAFrame2(); return(new attackPart(80,0,4,4,8,3,f,false,false,false)); } public static Attack blueStandJab() { ButtonIG[][] cmd = {{A}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueStandAstartup(),blueStandAactive(),blueStandArecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame StandCFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap(0,0,138,138); return f; } private static Frame StandCFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*3),(138*2),138,138); return f; } private static Frame StandCFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap(138,(138*6),138,138); return f; } private static Frame StandCFrame4() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = true; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox pB1 = new Push_HitBox(200,-150,160,400); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,pB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap(138,(138*7),138,138); return f; } private static attackPart blueStandCstartup() { Frame[] f = new Frame[6]; for(int i = 0; i < 3; i++) { f[i] = StandCFrame1(); } for(int i = 3; i < 6; i++) { f[i] = StandCFrame2(); } return(new attackPart(f)); } private static attackPart blueStandCrecovery() { Frame[] f = new Frame[22]; for(int i = 0; i < 22; i++) { f[i] = StandCFrame4(); } return(new attackPart(f)); } private static attackPart blueStandCactive() { Frame[] f = new Frame[6]; for(int i = 0; i < f.length; i++) { f[i] = StandCFrame3(); } return(new attackPart(100,0,28,14,10,5,f,false,false,false)); } public static Attack blueStandFierce() { ButtonIG[][] cmd = {{C}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueStandCstartup(),blueStandCactive(),blueStandCrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame standDFrame1(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(70,70,150,500); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(70,400,150,100); Push_HitBox pushB = new Push_HitBox(70,70,150,500); /* adding hitboxes to lists */ phb.add(phb1); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,3.0,phb,ahb,pthb,athb,pushB, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*4),0,138,138); return f; } private static Frame standDFrame2(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(70,70,150,500); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(70,400,150,100); Push_HitBox pushB = new Push_HitBox(70,70,150,500); /* adding hitboxes to lists */ phb.add(phb1); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,0.0,phb,ahb,pthb,athb,pushB, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*10),138,138,138); return f; } private static Frame standDFrame3(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(70,70,150,500); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(70,400,150,100); Push_HitBox pushB = new Push_HitBox(70,70,150,500); /* adding hitboxes to lists */ phb.add(phb1); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,0.0,phb,ahb,pthb,athb,pushB, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*9),138,138,138); return f; } private static Frame standDFrame4(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(70,70,150,500); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(70,400,150,100); Push_HitBox pushB = new Push_HitBox(70,70,150,500); /* adding hitboxes to lists */ phb.add(phb1); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,3.0,phb,ahb,pthb,athb,pushB, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*10),138,138,138); return f; } private static Frame standDFrame5(){ /* Hitboxes lists creation */ ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); /* Individual hitboxes creation */ Passive_HitBox phb1 = new Passive_HitBox(70,70,150,500); Passive_throw_HitBox pthb1 = new Passive_throw_HitBox(70,400,150,100); Push_HitBox pushB = new Push_HitBox(70,70,150,500); /* adding hitboxes to lists */ phb.add(phb1); pthb.add(pthb1); /* frame creation */ Frame f = new Frame(0.0,3.0,phb,ahb,pthb,athb,pushB, //cancels (in order : normal, special, jump, move, dash) false,false,false,false,false); f.setSpriteWrap((138*4),0,138,138); return f; } private static attackPart blueStandDstartup() { Frame[] f = new Frame[8]; for(int i = 0; i < 5; i++) { f[i] = standDFrame1(); } for(int i = 5; i< f.length; i++) { f[i] = standDFrame2(); } return(new attackPart(f)); } private static attackPart blueStandDactive() { Frame[] f = new Frame[5]; for(int i = 0; i < f.length; i++) { f[i] = standDFrame3(); } return(new attackPart(100,0,20,18,16,14,f,false,false,false)); } private static attackPart blueStandDrecovery() { Frame[] f = new Frame[18]; for(int i = 0; i < 10; i++) { f[i] = standDFrame4(); } for(int i = 10; i < f.length; i++) { f[i] = standDFrame5(); } return(new attackPart(f)); } public static Attack blueStandHeavyKick() { ButtonIG[][] cmd = {{D}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueStandDstartup(),blueStandDactive(),blueStandDrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame StandBFrame1() { //movement data double moveX = 3.0; double moveY = 0.0; //cancelData boolean normalC = true; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*5),(138*5),138,138); return f; } private static Frame StandBFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = true; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*6),(138*5),138,138); return f; } private static Frame StandBFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = true; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*7),(138*5),138,138); return f; } private static attackPart blueStandBstartup() { Frame[] f = new Frame[6]; for(int i = 0; i < 6; i++) { f[i] = StandBFrame1(); } return(new attackPart(f)); } private static attackPart blueStandBactive() { Frame[] f = new Frame[6]; for(int i = 0; i < f.length; i++) { f[i] = StandBFrame2(); } return(new attackPart(80,0,11,8,8,5,f,false,false,false)); } private static attackPart blueStandBrecovery() { Frame[] f = new Frame[4]; for(int i = 0; i < 4; i++) { f[i] = StandBFrame3(); } return(new attackPart(f)); } public static Attack blueStandShort() { ButtonIG[][] cmd = {{B}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueStandBstartup(),blueStandBactive(),blueStandBrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame ForwardDFrame0() { //movement data double moveX = 3.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*5),(138*4),138,138); return f; } private static Frame ForwardDFrame1(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*5),(138*4),138,138); return f; } private static Frame ForwardDFrame2(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*10),138,138,138); return f; } private static Frame ForwardDFrame3(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*11),138,138,138); return f; } private static Frame ForwardDFrame4(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*12),138,138,138); return f; } private static Frame ForwardDFrame5(){ //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*5),(138*4),138,138); return f; } private static attackPart blueForwardDstartup() { Frame[] f = new Frame[18]; for (int i = 0; i < 3 ; i++) { f[i] = ForwardDFrame0(); } for (int i = 3; i < 10; i++) { f[i] = ForwardDFrame1(); } for (int i = 10; i < f.length; i++) { f[i] = ForwardDFrame2(); } return (new attackPart(f)); } private static attackPart blueForwardDrecovery() { Frame[] f = new Frame[8]; for (int i = 0; i < 3; i++) { f[i] = ForwardDFrame4(); } for (int i = 3; i < f.length; i++) { f[i] = ForwardDFrame5(); } return (new attackPart(f)); } private static attackPart blueForwardDactive() { Frame[] f = new Frame[4]; for (int i = 0; i < f.length; i++) { f[i] = ForwardDFrame3(); } return(new attackPart(30,0,5,5,0,0,f,false,true,false)); } private static attackPart blueForwardDactive2() { Frame[] f = new Frame[3]; for (int i = 0; i < f.length; i++) { f[i] = ForwardDFrame4(); } return(new attackPart(70,0,11,3,8.0,4.0,f,false,true,false)); } public static Attack blueFordwardRoundHouse() { ButtonIG[][] cmd = {{FORWARD,D}}; boolean isSpecial = false; Status rS = Status.NORMAL; attackPart[] parts = {blueForwardDstartup(),blueForwardDactive(),blueForwardDactive2(),blueForwardDrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame JumpAFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*12),(138*3),138,138); return f; } private static Frame JumpAFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*13),(138*3),138,138); return f; } private static Frame JumpAFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*14),(138*3),138,138); return f; } private static attackPart blueJumpAstartup() { Frame[] f = new Frame[3]; for(int i = 0; i < 3; i++) { f[i] = JumpAFrame1(); } return(new attackPart(f)); } private static attackPart blueJumpAactive() { Frame[] f = new Frame[4]; for(int i = 0; i < f.length; i++) { f[i] = JumpAFrame2(); } return(new attackPart(80,0,10,5,8,3,f,false,true,false)); } private static attackPart blueJumpArecovery() { Frame[] f = new Frame[5]; for(int i = 0; i < 5; i++) { f[i] = JumpAFrame3(); } return(new attackPart(f)); } public static Attack blueJumpJab() { ButtonIG[][] cmd = {{A}}; boolean isSpecial = false; Status rS = Status.JUMPING; attackPart[] parts = {blueJumpAstartup(),blueJumpAactive(),blueJumpArecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame JumpCFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*12),(138*3),138,138); return f; } private static Frame JumpCFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*13),(138*3),138,138); return f; } private static Frame JumpCFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*14),(138*3),138,138); return f; } private static attackPart blueJumpCstartup() { Frame[] f = new Frame[4]; for(int i = 0; i < f.length; i++) { f[i] = JumpCFrame1(); } return(new attackPart(f)); } private static attackPart blueJumpCactive() { Frame[] f = new Frame[8]; for(int i = 0; i < f.length; i++) { f[i] = JumpCFrame2(); } return(new attackPart(115,0,30,5,13,5,f,false,true,false)); } private static attackPart blueJumpCrecovery() { Frame[] f = new Frame[15]; for(int i = 0; i < 5; i++) { f[i] = JumpCFrame3(); } return(new attackPart(f)); } public static Attack blueJumpFierce() { ButtonIG[][] cmd = {{C}}; boolean isSpecial = false; Status rS = Status.JUMPING; attackPart[] parts = {blueJumpCstartup(),blueJumpCactive(),blueJumpCrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame JumpBFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*14),138,138,138); return f; } private static Frame JumpBFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*13),138,138,138); return f; } private static Frame JumpBFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*14),138,138,138); return f; } private static attackPart blueJumpBstartup() { Frame[] f = new Frame[3]; for(int i = 0; i < f.length; i++) { f[i] = JumpBFrame1(); } return(new attackPart(f)); } private static attackPart blueJumpBactive() { Frame[] f = new Frame[40]; for(int i = 0; i < f.length; i++) { f[i] = JumpBFrame2(); } return(new attackPart(80,0,30,15,25,10,f,false,true,false)); } private static attackPart blueJumpBrecovery() { Frame[] f = new Frame[6]; for(int i = 0; i < f.length; i++) { f[i] = JumpBFrame3(); } return(new attackPart(f)); } public static Attack blueJumpShort() { ButtonIG[][] cmd = {{B}}; boolean isSpecial = false; Status rS = Status.JUMPING; attackPart[] parts = {blueJumpBstartup(),blueJumpBactive(),blueJumpBrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } private static Frame JumpDFrame1() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*11),(138*6),138,138); return f; } private static Frame JumpDFrame2() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = false; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*10),(138*6),138,138); return f; } private static Frame JumpDFrame3() { //movement data double moveX = 0.0; double moveY = 0.0; //cancelData boolean normalC = false; boolean specialC = true; boolean jumpC = false; boolean moveC = false; boolean dashC = false; //hitbox lists ArrayList ahb = new ArrayList(); ArrayList athb = new ArrayList(); ArrayList phb = new ArrayList(); ArrayList pthb = new ArrayList(); //generate hitboxes here and then use ArrayList add method to add them to the correct list Push_HitBox bStandPB1 = new Push_HitBox(70,70,150,500); Frame f = new Frame(moveY,moveX,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC); //set sprite data on sheet f.setSpriteWrap((138*11),(138*6),138,138); return f; } private static attackPart blueJumpDstartup() { Frame[] f = new Frame[4]; for(int i = 0; i < f.length; i++) { f[i] = JumpDFrame1(); } return(new attackPart(f)); } private static attackPart blueJumpDactive() { Frame[] f = new Frame[8]; for(int i = 0; i < f.length; i++) { f[i] = JumpDFrame2(); } return(new attackPart(115,0,50,20,45,15,f,false,true,false)); } private static attackPart blueJumpDrecovery() { Frame[] f = new Frame[36]; for(int i = 0; i < f.length; i++) { f[i] = JumpDFrame3(); } return(new attackPart(f)); } public static Attack blueJumpRoundHouse() { ButtonIG[][] cmd = {{D}}; boolean isSpecial = false; Status rS = Status.JUMPING; attackPart[] parts = {blueJumpDstartup(),blueJumpDactive(),blueJumpDrecovery()}; return new Attack(isSpecial,rS,cmd,parts); } }