Added a comment in blueBaseFrames to copy-past for easier Frame method generation.
This commit is contained in:
parent
5d95e2223f
commit
3d4eae9911
@ -12,6 +12,37 @@ import java.util.ArrayList;
|
||||
|
||||
public class BlueBaseFrames {
|
||||
|
||||
/*
|
||||
TO COPY PASTE FOR EASY frame function generation :
|
||||
|
||||
private static Frame ExampleFrame(){
|
||||
//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<Active_HitBox> ahb = new ArrayList<Active_HitBox>();
|
||||
ArrayList<Active_throw_Hitbox> athb = new ArrayList<Active_throw_Hitbox>;
|
||||
ArrayList<Passive_HitBox> phb = new ArrayList<Passive_HitBox>();
|
||||
ArrayList<Passive_throw_HitBox> pthb = new ArrayList<Passive_throw_HitBox>();
|
||||
|
||||
//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(moveX,moveY,phb,ahb,pthb,athb,bStandPB1,normalC,specialC,jumpC,moveC,dashC);
|
||||
|
||||
//set sprite data on sheet
|
||||
f.setSpriteWrap(0,0,138,138);
|
||||
return f;
|
||||
}
|
||||
*/
|
||||
private static Frame generateStandFrame1(){
|
||||
Passive_HitBox bStandPHB1 = new Passive_HitBox(70,70,150,500);
|
||||
Passive_throw_HitBox bStandPTHB1 = new Passive_throw_HitBox(70,400,150,100);
|
||||
|
Loading…
x
Reference in New Issue
Block a user