-
Notifications
You must be signed in to change notification settings - Fork 25
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
1 parent
ec91d04
commit 0eb9719
Showing
44 changed files
with
1,255 additions
and
2,198 deletions.
There are no files selected for viewing
Binary file not shown.
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 +1 @@ | ||
{"AAA":{"Money":5,"StoreItem":{"MoveSpeed":true,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0.0,"IsMute":false,"KeySetting_1p":[37,39,38,40,10],"KeySetting_2p":[65,68,87,83,32]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":true,"UNLUCKY_GUY":false}},"Scores":{"Scores_1p":[{"name":"AAA","value":660},{"name":"AAA","value":660},{"name":"AAA","value":180},{"name":"AAA","value":120},{"name":"ZAA","value":0},{"name":"YAA","value":0},{"name":"YAA","value":0},{"name":"YAA","value":0},{"name":"AAA","value":0},{"name":"AAA","value":0}],"Scores_2p":[{"name":"AAA","value":120},{"name":"AAA","value":120},{"name":"AAA","value":60}]},"YAA":{"Money":0,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0,"IsMute":false,"KeySetting_1p":[0,1,2,3,4],"KeySetting_2p":[8,9,10,11,12]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":false,"UNLUCKY_GUY":false}},"ZAA":{"Money":0,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0,"IsMute":false,"KeySetting_1p":[0,1,2,3,4],"KeySetting_2p":[8,9,10,11,12]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":false,"UNLUCKY_GUY":false}}} | ||
{"AAA":{"Money":6,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0.0,"IsMute":false,"KeySetting_1p":[37,39,38,40,10],"KeySetting_2p":[65,68,87,83,32]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":true,"UNLUCKY_GUY":false}},"BAA":{"Money":0,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0,"IsMute":false,"KeySetting_1p":[0,1,2,3,4],"KeySetting_2p":[8,9,10,11,12]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":false,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":false,"UNLUCKY_GUY":false}},"Scores":{"Scores_1p":[{"name":"AAA","value":660},{"name":"AAA","value":660},{"name":"AAA","value":180},{"name":"AAA","value":120},{"name":"AAA","value":100},{"name":"ZAA","value":0},{"name":"YAA","value":0},{"name":"YAA","value":0},{"name":"YAA","value":0},{"name":"AAA","value":0}],"Scores_2p":[{"name":"AAA","value":120},{"name":"AAA","value":120},{"name":"AAA","value":60}]},"YAA":{"Money":0,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0,"IsMute":false,"KeySetting_1p":[0,1,2,3,4],"KeySetting_2p":[8,9,10,11,12]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":false,"UNLUCKY_GUY":false}},"ZAA":{"Money":0,"StoreItem":{"MoveSpeed":false,"ShotSpeed":false,"BonusLife":false},"Setting":{"Volume":0,"IsMute":false,"KeySetting_1p":[0,1,2,3,4],"KeySetting_2p":[8,9,10,11,12]},"Achievement":{"LUCKY_GUY":false,"GAME_ACE":false,"SOUL_MATES":false,"BUDDY_FXXKER":false,"PAT_AND_MAT":false,"ADVENTURE_START":true,"DEADLY_ACCURACY":false,"AVIOPHOBIA":false,"SHARP_SHOOTER":false,"UNLUCKY_GUY":false}}} |
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,34 +1,44 @@ | ||
package EnginePrime; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
import java.util.ArrayList; | ||
import java.util.function.Consumer; | ||
|
||
public abstract class Component { | ||
int LifeStep = -1; | ||
int RenderPrior = 1; | ||
// 수신 이벤트 등록 | ||
public Map<String,Consumer<Message>> CustomEvent = new HashMap<>(); | ||
public Map<String, Consumer<Message>> CustomEvent = new HashMap<>(); | ||
public ArrayList<Message> MessagePool = new ArrayList<>(); | ||
public Entity Obj = null; | ||
|
||
public void ProcMessage() { | ||
if(LifeStep <2 ){ | ||
if (LifeStep < 2) { | ||
return; | ||
} | ||
for (Message m : MessagePool) { | ||
Consumer<Message> f = CustomEvent.get(m.obj.get("Func")); | ||
if(f!=null){ | ||
if (f != null) { | ||
f.accept(m); | ||
} | ||
} | ||
MessagePool.clear(); | ||
} | ||
public void SetRenderPrior(int p){ | ||
|
||
public void SetRenderPrior(int p) { | ||
RenderPrior = p; | ||
} | ||
|
||
public void Awake(){}; | ||
public void Start(){}; | ||
public void Update(){}; | ||
public void Render(){}; | ||
} | ||
public void Awake() { | ||
}; | ||
|
||
public void Start() { | ||
}; | ||
|
||
public void Update() { | ||
}; | ||
|
||
public void Render() { | ||
}; | ||
} |
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
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
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
Oops, something went wrong.