Example #1
0
        static void Main(string[] args)
        {
            //Create a new game
            GameInstance newGame = new GameInstance();

            //Start the game
            newGame.Initialize();
        }
Example #2
0
        public int ZIndex = 0; // -1 = below base, 0 = base, 1 = above base

        #endregion Fields

        #region Constructors

        public ActorLayer(string name, int zIndex, GameInstance game)
        {
            this.ZIndex = zIndex;
            this.Name = name;
            this.GameInstance = game;
        }