/*TrisPackage.Tris/definition/variables/controls*/
class TrisCls
{
//definition
const int MAPY=22; //final int MAPY=22; //#define MAPY 22
const int MAPX=31;
//variables
int[,] tris = new int[MAPY,MAPX]; //int[][] tris = new int[MAPY][MAPX]; //int tris[MAPY][MAPX];
//controls
Timer tm; //class
Random rr; //class
ConsoleKeyInfo keyinfo; //structure
DateTime now; //structure
//method
public void running()
{
//add code
}
}
'c# 언어' 카테고리의 다른 글
TrisPackage.Tris/check_horizon(); (0) | 2021.11.19 |
---|---|
TrisPackage.Tris/delete_column(); (0) | 2021.11.19 |
TrisPackage.Tris/common_check(); (0) | 2021.11.17 |
TrisPackage.Tris/check_horizon(); (0) | 2021.11.17 |
TrisPackage.Tris/tris_time_tick(); (0) | 2021.11.17 |