예제 #1
0
        // Create big explotion:
        void CreateBigExplotion(IGameObject o)
        {
            // Creating explotion:
            var explotionBig = new CExplotion((CGameObject)o, 8); //new CExplosionBig((CGameObject)o);

            // Adding to lists:
            AddObject(explotionBig);
        }
예제 #2
0
        // Create explotion:
        void CreateSmallExplotion(IGameObject o)
        {
            // Creating explotion:
            var explotionSmall = new CExplotion((CGameObject)o, 2);; //new CExplosionSmall(o.X, o.Y);

            // Adding to lists:
            AddObject(explotionSmall);
        }