Exemplo n.º 1
0
 public SCREEN_4_GRAPHS()
 {
     duration   = 10f;
     title      = "graphing";
     P          = COL.Get_Palette(0);
     _arcGraph1 = new Graph(5);
     _arcGraph2 = new Graph(20);
 }
Exemplo n.º 2
0
    public SCREEN_EXAMPLE2()
    {
        duration = 30f;
        title    = "hud example 2";
        P        = COL.Get_Palette(0);

        sprawls = new DataSprawl[sprawlCount];
        for (int i = 0; i < sprawlCount; i++)
        {
            sprawls[i] = new DataSprawl(10, 10, 4, 10);
        }
    }
Exemplo n.º 3
0
    public SCREEN_EXAMPLE1()
    {
        duration = 30f;
        title    = "test";
        P        = COL.Get_Palette(0);

        // data sprawls
        sprawls = new List <DataSprawl>();
        int _minRows      = 5;
        int _maxRows      = 20;
        int _minRowLength = 10;
        int _maxRowLength = 50;
        int _minTickRate  = 5;
        int _maxTickRate  = 20;
        int _minCellRate  = 4;
        int _maxCellRate  = 10;


        for (int i = 0; i < totalSprawls; i++)
        {
            sprawls.Add(new DataSprawl(
                            Random.Range(_minRows, _maxRows),
                            Random.Range(_minRowLength, _maxRowLength),
                            Random.Range(_minTickRate, _maxTickRate),
                            Random.Range(_minCellRate, _maxCellRate)
                            ));
        }

        // partitions
        float gutterRatio = 1;

        partitionList = new List <Partitions>();
        for (int i = 0; i < partitionListCount; i++)
        {
            partitionList.Add(new Partitions(Random.Range(3, 10), 0.7f));
        }
    }
Exemplo n.º 4
0
 public void Set_Palette(int _index)
 {
     palette = COL.Get_Palette(_index);
 }
Exemplo n.º 5
0
 public SCREEN_2_DRAWING()
 {
     duration = 10f;
     title    = "anim";
     P        = COL.Get_Palette(0);
 }
Exemplo n.º 6
0
 public SCREEN_3_GRIDS()
 {
     duration = 10f;
     title    = "grids";
     P        = COL.Get_Palette(0);
 }
Exemplo n.º 7
0
 public SCREEN_1_WELCOME()
 {
     duration = 10f;
     title    = "welcome";
     P        = COL.Get_Palette(1);
 }