1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! # app_state.rs
//!
//! # app_state.rs 文件
//!
//! ## Module Overview
//!
//! ## 模块概述
//!
//! The `app_state` module contains the concrete modules for each application state.
//!
//! app_state 模块包含了每个应用程序状态的具体模块。
//!
//! ## Source File Overview
//!
//! ## 源文件概述
//!
//! This file defines the application's state enumeration used throughout the game.
//!
//! 此处定义了贯穿整个游戏的应用程序状态枚举。
//!
//! It includes states for setup, menu, overworld, and battle.
//!
//! 包含初始化、菜单界面、Overworld 和战斗状态。
//!
//! The entire game's state management is based on this enumeration, with the Setup state entered first.
//!
//! 整个游戏的状态管理都基于此枚举,且 Setup 状态会最先被进入。
use ;
pub
pub
pub
// TODO: 状态管理、状态转换