-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
TwilCynder
committed
Dec 10, 2024
1 parent
fa47c62
commit 7e70dc9
Showing
3 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
editor/javaEditor/src/gamedata/GameplayAnimationBehavior.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package gamedata; | ||
|
||
import java.util.List; | ||
|
||
public class GameplayAnimationBehavior { | ||
public abstract class LandingBehavior { | ||
private int duration; | ||
|
||
LandingBehavior(int duration){ | ||
this.duration = duration; | ||
} | ||
|
||
public int getDuration() { | ||
return duration; | ||
} | ||
} | ||
|
||
public class NormalLandingBehavior extends LandingBehavior { | ||
NormalLandingBehavior (int duration){ | ||
super (duration); | ||
} | ||
} | ||
|
||
public class AnimationLandingBehavior extends LandingBehavior { | ||
String anim_name; | ||
|
||
AnimationLandingBehavior (int duration, String name){ | ||
super (duration); | ||
this.anim_name = name; | ||
} | ||
|
||
public String getAnimName(){ | ||
return anim_name; | ||
} | ||
} | ||
|
||
public class LandingBehaviorWindow { | ||
public int frame; | ||
public LandingBehavior behavior; | ||
} | ||
|
||
List<LandingBehavior> landing_behavior_windows; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package gamedata; | ||
|
||
public class Move { | ||
public int landine_lag; | ||
//public int landine_lag; | ||
} |