Esempio n. 1
0
    // Use this for initialization
    protected virtual void Start()
    {
        m_ContourPen = new Pen(Alt.Sketch.Color.FromArgb(192, Alt.Sketch.Color.DodgerBlue), 3);

        m_Timer       = new Alt.GUI.Timer(15);
        m_Timer.Tick += Timer_Tick;
        m_Timer.Start();
    }
Esempio n. 2
0
    protected void Initialize()
    {
        settings = new Alt.GUI.Box2D.Demo.Testbed.Framework.Settings();
        Box2D_onRestart();

        m_Timer       = new Alt.GUI.Timer(10);
        m_Timer.Tick += Timer_Tick;
        m_Timer.Start();
    }
Esempio n. 3
0
    void Start()
    {
        Image    = Alt.Sketch.Bitmap.FromFile("AltData/corazon.gif");
        SizeMode = Alt.GUI.PictureBoxSizeMode.CenterImage;

        m_Timer       = new Alt.GUI.Timer(1500);
        m_Timer.Tick += Timer_Tick;
        m_Timer.Start();
    }
Esempio n. 4
0
    protected void Initialize()
    {
        m_InfoFont = new Alt.Sketch.Font("Arial", 10.01, Alt.Sketch.FontStyle.Bold);

        settings = new FarseerPhysicsGameSettings();

        FarseerPhysics_onRestart();

        m_Timer       = new Alt.GUI.Timer(10);
        m_Timer.Tick += Timer_Tick;
        m_Timer.Start();
    }