Merge remote-tracking branch 'origin/master'
# Conflicts: # target/classes/uno/mloluyu/characters/Alice.class # target/classes/uno/mloluyu/network/CreateServer$1.class # target/classes/uno/mloluyu/network/CreateServer.class
This commit is contained in:
@@ -14,8 +14,7 @@ public class Alice extends Fighter {
|
||||
speed = 350f; // 速度更快
|
||||
maxHealth = 90; // 生命值较低
|
||||
health = maxHealth;
|
||||
attackPower = 12; // 攻击力中等\
|
||||
|
||||
attackPower = 12; // 攻击力中等
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -2,16 +2,12 @@ package uno.mloluyu.characters;
|
||||
|
||||
import com.badlogic.gdx.ApplicationAdapter;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
|
||||
import com.badlogic.gdx.graphics.GL20;
|
||||
import com.badlogic.gdx.graphics.OrthographicCamera;
|
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
||||
import com.badlogic.gdx.utils.viewport.FitViewport;
|
||||
import com.badlogic.gdx.utils.viewport.Viewport;
|
||||
|
||||
import uno.mloluyu.characters.Alice;
|
||||
import uno.mloluyu.characters.Fighter;
|
||||
|
||||
public class AliceAnimationTest extends ApplicationAdapter {
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@ public abstract class Fighter implements Disposable {
|
||||
public enum Action {
|
||||
IDLE, WALK, JUMP, FALL,
|
||||
ATTACK1, ATTACK2, ATTACK3, ATTACK4,
|
||||
HIT, DEFEND,
|
||||
HIT,
|
||||
DEFEND,
|
||||
SPECIAL1, SPECIAL2,
|
||||
DEATH
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ public class CreateServer {
|
||||
System.out.println("玩家连接"+clientSocket);
|
||||
//连接上后在这里编写进入游戏界面的代码
|
||||
} catch (Exception e) {
|
||||
|
||||
|
||||
} finally {
|
||||
if (clientSocket != null) {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.0 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 MiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 5.0 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 MiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/uno/mloluyu/network/CreateServer$1.class
Normal file
BIN
target/classes/uno/mloluyu/network/CreateServer$1.class
Normal file
Binary file not shown.
BIN
target/classes/uno/mloluyu/network/CreateServer.class
Normal file
BIN
target/classes/uno/mloluyu/network/CreateServer.class
Normal file
Binary file not shown.
Reference in New Issue
Block a user