Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
KeyboardInput.cs
浏览该文件的文档.
1
namespace
Engine.Input
{
2
public
class
KeyboardInput
{
3
public
static
List<char>
Chars
= [];
4
public
static
bool
_DeletePressed
;
5
6
public
static
bool
DeletePressed
{
7
get
{
8
bool
D
=
_DeletePressed
;
9
if
(
D
) {
10
_DeletePressed
=
false
;
11
}
12
return
D
;
13
}
14
set
=>
_DeletePressed
= value;
15
}
16
17
public
static
string
GetInput
() {
18
if
(
Chars
.Count > 0) {
19
string
str =
new
(
Chars
.ToArray());
20
Chars
.Clear();
21
return
str;
22
}
23
return
string
.Empty;
24
}
25
}
26
}
Engine.Input.KeyboardInput
定义
KeyboardInput.cs:2
Engine.Input.KeyboardInput.GetInput
static string GetInput()
定义
KeyboardInput.cs:17
Engine.Input.KeyboardInput.DeletePressed
static bool DeletePressed
定义
KeyboardInput.cs:6
Engine.Input.KeyboardInput.Chars
static List< char > Chars
定义
KeyboardInput.cs:3
Engine.Input.KeyboardInput._DeletePressed
static bool _DeletePressed
定义
KeyboardInput.cs:4
Engine.Input
定义
CursorType.cs:1
Engine.Input.Key.D
@ D
定义
Key.cs:37
SurvivalcraftApi 1.8.2.3
Engine
Engine.Input
KeyboardInput.cs
制作者
1.16.1