using System;
using System.Collections;
using System.Collections.Generic;
using Sifteo;

namespace Libraries
    // Purpose:
    // Basic game application class.  Contains general things that applications will need.
    // Derive apps from this.
    public class BasicApp : BaseApp
        // Store all cubes wrapped in game wrappers.
        // Valid cubes must be added into here.
        public List<BaseCubeWrapper> m_cubeWrappers = new List<BaseCubeWrapper>();

        // General use random number generator.
        // Replace with a seeded version if needed.
        public Random m_rand = new Random();
        // Purpose:
        // Update cubes.
        public override void Tick()
            foreach (BaseCubeWrapper wrapper in m_cubeWrappers)


Website copyright (c) 2012 Benjamin Millek, all rights reserved.