コード例 #1
0
        //
        // Public methods
        //

        /// <summary>
        /// Initializes a new instance of the <see cref="TWord" /> class.
        /// </summary>
        public TWord()
        {
            m_oChars      = new TChars();
            m_oRectangle  = new TOCRRect();
            m_sWordData   = "";
            m_iConfidance = 0;
            m_iStyle      = 0;
        }
コード例 #2
0
ファイル: Labyrinth.cs プロジェクト: prog76/Pacman
        private Labyrinth(int num)
        {
            this.num = num;
            laby     = new UInt16[HEIGHT][];
            chars    = new TChars(this);

            RemainingPills = pastilles[num];
            for (int i = 0; i < HEIGHT; i++)
            {
                laby[i] = new UInt16[WIDTH];
                for (int j = 0; j < WIDTH; j++)
                {
                    laby[i][j] = labys[num][i][j];
                }
            }
        }
コード例 #3
0
ファイル: Labyrinth.cs プロジェクト: prog76/Pacman
        private Labyrinth(int num)
        {
            this.num = num;
            laby = new UInt16[HEIGHT][];
            chars = new TChars(this);

            RemainingPills = pastilles[num];
            for (int i = 0; i < HEIGHT; i++)
            {
                laby[i] = new UInt16[WIDTH];
                for (int j = 0; j < WIDTH; j++)
                {
                    laby[i][j] = labys[num][i][j];
                }
            }
        }