Пример #1
0
 public void New()
 {
     ImageBuffer = null;
     m_iStones   = 0;
     m_Stones    = new StoneCollection();
     m_Mode      = EnumMode.Normal;
     Cursor      = m_RechenCursor;
 }
Пример #2
0
 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;
 }