parent
e151db0a08
commit
5de1f2c95d
@ -0,0 +1 @@
|
||||
joggle.java
|
@ -0,0 +1,5 @@
|
||||
package assembly;
|
||||
|
||||
public class Branch {
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package assembly;
|
||||
|
||||
import java.awt.event.MouseEvent;
|
||||
|
||||
public class Trigger {
|
||||
int Mouse;
|
||||
MouseEvent mouse;
|
||||
public void mouseClicked(MouseEvent arg0){
|
||||
if(arg0.getButton() == MouseEvent.BUTTON1){
|
||||
Mouse = 1;
|
||||
} else if (arg0.getButton() == MouseEvent.BUTTON2) {
|
||||
Mouse = 2;
|
||||
} else if (arg0.getButton() == MouseEvent.BUTTON3) {
|
||||
Mouse = 3;
|
||||
}
|
||||
}
|
||||
public int getMouse(){
|
||||
mouseClicked(mouse);
|
||||
return Mouse;
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package compound;
|
||||
|
||||
public class Backgroud {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package compound;
|
||||
|
||||
public class Bgm {
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package compound;
|
||||
|
||||
import assembly.Trigger;
|
||||
|
||||
public class Character {
|
||||
int NowPattern = 0;
|
||||
int Pattern[] = new int[100];
|
||||
static int i = 0;
|
||||
Character(int Character_Group[]){
|
||||
Pattern = Character_Group;
|
||||
}
|
||||
public void Show(){
|
||||
//将改代号的图片输出
|
||||
}
|
||||
public void nextPattern(){
|
||||
Trigger trigger = new Trigger();
|
||||
if(trigger.getMouse() == 1) {
|
||||
NowPattern = Pattern[i];
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package compound;
|
||||
|
||||
import assembly.Trigger;
|
||||
|
||||
public class Text {
|
||||
int i = 0;
|
||||
String TextBox[] = new String[100];
|
||||
Text(){
|
||||
//将资源中的文本分段输入TextBox中
|
||||
}
|
||||
public void nextText(){
|
||||
Trigger trigger = new Trigger();
|
||||
if(trigger.getMouse() == 1) {
|
||||
//输出下一句textbox到文本
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue