playerupdatestruct.cs

来自「《.NET游戏编程入门经典-c#篇》」· CS 代码 · 共 13 行

CS
13
字号
using System;
using Microsoft.DirectX;

[Serializable]
public struct PlayerUpdate {
	public Vector3 Location;
	public Matrix WorldMatrix;
	public int State;
	public float WaitCount;
	public int DeathCount;
	public int Sounds;
	public int Score;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?