package FCRendering;
import FCRendering.azer.PlayerAction;
import FCRendering.sw.FCRListen;
import FCRendering.sw.FCRValues;
import Frame.screen.*;
import Function.*;
import VWorldGameStudio.*;
import VWorldGameStudio.events.BattleEvent;
import VWorldGameStudio.events.DoorEvent;
import VWorldGameStudio.events.JumpEvent;
import VWorldGameStudio.events.ShopEvent;
import VWorldGameStudio.touzi.BaiShuDIProject;
import VWorldGameStudio.touzi.BoBuSchoolProject;
import VWorldGameStudio.touzi.BoBuShaTanProject;
import VWorldGameStudio.touzi.FCTouZiProject;
import interfaces.IPlayerSlideCallback;
import io.reactivex.schedulers.Schedulers;
import lombok.Getter;
import lombok.Setter;
import org.omg.PortableServer.LIFESPAN_POLICY_ID;
import socket.FCRSocketClient;
import socket.FCRSocketServer;
import utils.ClickHelper;
import utils.FCDataSingles;
import utils.FCExGlobalConfigUtil;
import utils.FCUIConfig;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.List;
import java.util.Timer;
import java.util.*;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.TimeUnit;
import static FCRendering.FCRConstants.DEBUG_MODE;
public class FCRMaster extends JPanel {
@Getter
private String vwordg = "V-World Game Studio 2021 重制";
@Getter
private Font font;
@Getter
public static FCLanguageLibrary langLib = new FCLanguageLibrary();
// 存档
public static JTextField playerName = new JTextField();// 玩家名称
public static FCSave gameSave = new FCSave();// 玩家当前游戏存档
public static FCSaveLibrary saveList = new FCSaveLibrary();
// 玩家信息
public static FCPlayerInfo player1 = new FCPlayerInfo();// 玩家1信息
// 素材
public static FCCharacterLibrary charLib = new FCCharacterLibrary();
public static FCBlockLibrary blockLib = new FCBlockLibrary();
public static FCMapLibrary mapLib = new FCMapLibrary();
public static FCEventLibrary eventLib = new FCEventLibrary();
public static FCActionLibrary actionLib = new FCActionLibrary();
public static FCMonsterLibrary monLib = new FCMonsterLibrary();
public static FCAnimationLibrary animationLib = new FCAnimationLibrary();
public static FCItemLibrary itemLib = new FCItemLibrary();
public static FCPlotLibrary plotLib = new FCPlotLibrary();
public static FCTankLibrary tankLib = new FCTankLibrary();
public static FCMapAnimationLibrary mapAnimationLibrary = new FCMapAnimationLibrary();
// ͨ联机类
public static FCSocket socket = new FCSocket();
public static JTextField playerbIp = new JTextField(FCRConstants.PLAYER_B_IP);
public static JTextField playerbPort = new JTextField(FCRConstants.PLAYER_B_PORT);
// 聊天消息
@Getter
private Font fon1;
public static JTextField messageText;
public static FCSound sound = new FCSound();
// 剧情事件检测数据
private FCPlotDetect plot;
@Getter
private int plotstep1 = -1;// 当前步骤
@Getter
private String plotnpc1sayname;// 当前说话的npcid
@Setter
@Getter
private String plotnpc1sayid;// 当前npc说话的id
@Getter
private int plotstep2 = -1;// 当前步骤
@Getter
private String plotnpc2sayname;
@Getter
private String plotnpc2sayid;
@Getter
private boolean plotnpc2sayisclick = false;
@Setter
@Getter
private boolean plotisjumstep2 = false;
@Setter
@Getter
private Vector<String> plotnpc1 = new Vector<>();// 剧情中的npc
@Setter
@Getter
private Vector<String> plotnpc2 = new Vector<>();
@Getter
private HashMap<String, Integer> plotnpc1face = new HashMap<>();// 剧情中的npc面向
@Getter
private HashMap<String, Integer> plotnpc2face = new HashMap<>();
@Getter
private HashMap<String, Integer[]> plotnpc1suozai = new HashMap<>();
@Getter
private HashMap<String, Integer[]> plotnpc2suozai = new HashMap<>();
@Getter
private HashMap<String, Integer[]> plotnpc1mubiao = new HashMap<>();
@Getter
private HashMap<String, Integer[]> plotnpc2mubiao = new HashMap<>();
@Getter
private HashMap<String, Integer[]> plotnpc1pianyi = new HashMap<>();// npc行走的偏移量
@Getter
private HashMap<String, Integer[]> plotnpc2pianyi = new HashMap<>();// npc行走的偏移量
@Getter
private HashMap<String, Integer> plotnpc1active = new HashMap<>();// npc当前动作编号
@Getter
private HashMap<String, Integer> plotnpcGoSpeed = new HashMap<>();// npc行走速度
@Getter
private HashMap<String, Integer> plotnpc2active = new HashMap<>();// npc当前动作编号
// 开关门信息记录
@Setter
@Getter
private boolean isplayopendoormusic = false;
// 游戏按键信息
public static FCHotKey hotkey = new FCHotKey();
// 游戏时间信息
public static FCDate gamedate = new FCDate();
@Getter
private FCBlack gameblack = new FCBlack();
@Getter
@Setter
private int opendoorx = -1;
@Getter
@Setter
private int opendoory = -1;
public static FCRMaster fcrMaster;
/**
* 键鼠监听与变量参数库
*
* @date 2021-12-27
*/
public static FCRListen fcl = new FCRListen();
public static FCRValues fcv = new FCRValues();
@Getter
@Setter
private IPlayerSlideCallback playerSlideCallback;
private DefaultMapScreen defaultMapScreen = new DefaultMapScreen();//非战斗地图(行走,剧情等)
public static DefaultFightScreen defaultFightScreen = new DefaultFightScreen();//纯战斗界面
private DefaultInfoScreen defaultInfoScreen = new DefaultInfoScreen();// 渲染菜单、信息等窗口
private DefaultMenuScreen defaultMenuScreen = new DefaultMenuScreen();// 渲染菜单
private DefaultItemScreen defaultItemScreen = new DefaultItemScreen();// 渲染背包物品
private DefaultMessageScreen defaultMessageScreen = new DefaultMessageScreen();// 消息
private DefaultJumpactionAnimScreen defaultJumpactionAnimScreen = new DefaultJumpactionAnimScreen();// 跳转动画
private DefaultHomeScreen defaultHomeScreen = new DefaultHomeScreen();//主菜单界面
private DefaultSingleReadyScreen singlePlayerReadyScreen = new DefaultSingleReadyScreen(false);//单人准备界面
private DefaultLoadingResScreen loadingResScreen = new DefaultLoadingResScreen();//加载资源界面
private DefaultSingleReadyScreen newRoomScreen = new DefaultSingleReadyScreen(true);//多人开房界面
private DefaultMultiFindRoomScreen findRoomScreen = new DefaultMultiFindRoomScreen();//多人找房界面
private DefaultHelpToolScreen helpToolScreen = new DefaultHelpToolScreen();//全局工具打印调试的窗口
private DefaultBoxOpenScreen boxOpenScreen = new DefaultBoxOpenScreen();//渲染箱子打开的和拖拉箱子物品的
private DefaultTeamRequestScreen requestScreen = new DefaultTeamRequestScreen();//组队申请的
private DefaultTimeScreen timeScreen = new DefaultTimeScreen();
private FCMonsterBattleOrderHelper monsterBattleOrderHelper = new FCMonsterBattleOrderHelper();
private FCPlayerBattleOrderHelper playerBattleOrderHelper = new FCPlayerBattleOrderHelper();
private FilghtBattleMouseScreen mouseScreen = new FilghtBattleMouseScreen();
/**
* 和getInterfacenum 对应key值
*/
private HashMap<Integer, IScreen> screenMaps = new HashMap<>();
public FCMonsterBuildCoor fcMonsterBuildCoor;
public static FCBattleEventOrderHelper eventOrderHelper = new FCBattleEventOrderHelper();
PlayerAction playerAction = PlayerAction.getInstance();
FCAutoTriggerEventHelper autoTriggerEventHelper = new FCAutoTriggerEventHelper();
Object mLock = new Object();
public FCRMaster() {
try {
fcrMaster = this;
//初始化screen
defaultMapScreen.addChildScreenByOrder(new ShopVedingScr
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本项目是一款基于PL/SQL和Java、HTML、CSS、JavaScript技术的MMV架构重装机兵联机版游戏源码,包含共计3936个文件,涵盖1922个视图文件、1451个PNG图像文件、312个Java源文件、196个HTML文件、33个MP3音频文件、5个JAR可执行文件、4个Excel文件、2个Git忽略文件、2个XML配置文件、1个类路径文件。请注意,此源码仅供学习和研究使用,不可用于商业用途。
资源推荐
资源详情
资源评论
收起资源包目录
基于Plsql和Java、HTML、CSS、JavaScript的MMV重装机兵联机版设计源码 (2000个子文件)
.classpath 657B
stylesheet.css 13KB
index-6.html 85KB
serialized-form.html 45KB
index-5.html 42KB
FCPlayerInfo.html 41KB
FCSave.html 35KB
index-13.html 34KB
FCMonster.html 32KB
FCMap.html 29KB
FCDataWriteAndRead.html 28KB
FCItem.html 27KB
FCEvent.html 23KB
MapEditJpanel.html 22KB
FCMaterailMap.html 21KB
FCJtable.html 19KB
index-12.html 19KB
FCEditItem.html 19KB
FCTank.html 19KB
FCItemLibrary.html 18KB
FCProgressBar.html 18KB
FCTanksLibrary.html 18KB
PngSelectJpanel.html 18KB
FCRGetReadyOnePlayer.html 17KB
FCRMaster.html 17KB
FCEditCharacter.html 17KB
FCEditMonster.html 17KB
FCEditEvent.html 17KB
FCOpenMap.html 17KB
FCEventAndActionTable.html 17KB
FCNewMap.html 17KB
FCSaveMap.html 17KB
FCEditAnimation.html 17KB
FCEditTank.html 16KB
FCEditBlock.html 16KB
FCGameFrame.html 16KB
FCMapEditEvent.html 16KB
FCGMaster.html 16KB
FCEditBlockEntity.html 16KB
FCEditAction.html 16KB
FCTableAnimation.html 16KB
FCDeleteBlock.html 16KB
FCEditPlot.html 16KB
Correct.html 16KB
FCMonsterLibrary.html 16KB
FCDeleteMap.html 16KB
FCCharacterTable.html 16KB
FCDeleteCharacter.html 16KB
FCTip.html 16KB
FCDeleteMonster.html 16KB
FCDeleteItem.html 16KB
FCDeleteTank.html 16KB
overview-tree.html 16KB
FCCharacter.html 15KB
FCEventLibrary.html 15KB
FCMap.html 15KB
FCDate.html 15KB
FCBlockLibrary.html 14KB
FCBlock.html 14KB
FCAnimation.html 14KB
FCAction.html 13KB
FCPlotLibrary.html 13KB
FCMapLibrary.html 13KB
FCAnimationLibrary.html 13KB
FCSaveLibrary.html 13KB
FCCharacterLibrary.html 12KB
FCActionLibrary.html 12KB
FCCorrect.html 12KB
FCDataDecryptOrEncryption.html 12KB
FCPlotDetect.html 11KB
FCSocket.html 11KB
index-3.html 11KB
FCTanksLibrary.html 11KB
FCPlot.html 11KB
MapEditJpanel.html 10KB
FCHotKey.html 10KB
FCWriteGameData.html 10KB
CorrectFunction.html 10KB
FCBlock.html 9KB
FCPlayerInfo.html 9KB
index-7.html 9KB
FCDate.html 9KB
FCSave.html 9KB
FCBlockLibrary.html 9KB
FCSound.html 9KB
package-tree.html 9KB
package-summary.html 9KB
index-17.html 9KB
FCFileNameDE.html 9KB
FCFileCopyToMaterial.html 9KB
FCItemLibrary.html 9KB
FCMonster.html 9KB
FCLanguageLibrary.html 9KB
FCGameEditmain.html 9KB
FCBlack.html 9KB
allclasses-frame.html 9KB
FCGameMain.html 8KB
Correctmain.html 8KB
package-use.html 8KB
package-summary.html 8KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
lsx202406
- 粉丝: 2452
- 资源: 5591
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功