gameshape.cs

来自「Line2008 by Do Minh Duc」· CS 代码 · 共 37 行

CS
37
字号
/**********************************/
/*                                */
/* Author: BUI VAN NGHIA          */
/* Email: katatunix@yahoo.com     */
/*                 [May, 2008]    */
/*                                */
/**********************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace Lines2008
{
	[Serializable()]
	public class GameShape
	{
		public int[,] matrix;
		public int scores;
		public int hours, minutes, seconds;

		public GameShape(int[,] matrix, int scores, int hours, int minutes, int seconds)
		{
			this.matrix = matrix;
			this.scores = scores;
			this.hours = hours;
			this.minutes = minutes;
			this.seconds = seconds;
		}

		public static GameShape getDefault()
		{
			return new GameShape(Algorithms.createNewMatrix(), 0, 0, 0, 0);
		}
	}
}

⌨️ 快捷键说明

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