コード例 #1
0
ファイル: Ground.cs プロジェクト: s-albert/ZenGarden2D
 public void New()
 {
     ImageBuffer = null;
     m_iStones   = 0;
     m_Stones    = new StoneCollection();
     m_Mode      = EnumMode.Normal;
     Cursor      = m_RechenCursor;
 }
コード例 #2
0
ファイル: Rechen.cs プロジェクト: s-albert/ZenGarden2D
 public Rechen(Ground oGround, StoneCollection oStones)
 {
     m_Ground          = oGround;
     m_Stones          = oStones;
     m_LastPosition    = new System.Drawing.Point(-1, -1);
     m_Position        = new System.Drawing.Point(new System.Drawing.Size(m_LastPosition));
     m_AktuellPosition = new System.Drawing.Point(new System.Drawing.Size(m_LastPosition));
     m_Richtung        = 3 * System.Math.PI / 2;
 }