|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.brantem.engine.SpriteStorage
Class yang berfungsi sebagai penyimpanan animasi
| Constructor Summary | |
SpriteStorage(BattleEngine battleEngine)
Pembuatan class SpriteStorage |
|
| Method Summary | |
AdvanceKeyCapture[] |
getKeyCaptures(boolean facingRight,
boolean player1)
Mengambil kombinasi tombol |
FighterSprite |
getSprite(boolean player1,
int direction,
int status)
Mengambil animasi dari media penyimpanan |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SpriteStorage(BattleEngine battleEngine)
battleEngine - Class konfigurasi pertarunganBattleEngine| Method Detail |
public FighterSprite getSprite(boolean player1,
int direction,
int status)
player1 - True bila yang akan di ambil animasi pemain 1 dan false untuk animasi pemain 2direction - Tombol arahstatus - Tombol status
public AdvanceKeyCapture[] getKeyCaptures(boolean facingRight,
boolean player1)
facingRight - True bila pemain hadap kanan dan false bila hadap kiriplayer1 - True bila yang akan di ambil animasi pemain 1 dan false untuk animasi pemain 2
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||