c# 언어
TrisPackage.Tris/definition/variables/controls
여린완자
2021. 11. 17. 17:39
/*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
}
}