예제 #1
0
        }                                                                    ///@property(readwrite,assign) bool stillHasMapObject;

        public Tree()
        {
            //if (!base.init()) return null;

            shake = null;
            //return this;
        }
예제 #2
0
        public StartingGate()
        {
            //if (!base.init()) return null;

            this.Reset();
            animOpen  = new Zanimation();
            animClose = new Zanimation();
            shake     = new Zshake();
            //return this;
        }
예제 #3
0
        public void Bump()
        {
            if (shake == null)
            {
                shake = new Zshake();
            }

            Zshake.ShakeInfo info = new Zshake.ShakeInfo();
            info.xSize     = 0.0f;
            info.ySize     = 2.3f;
            info.xSpeed    = 0.0f;
            info.ySpeed    = 0.0f;
            info.xPosition = 0.0f;
            info.yPosition = 0.0f;
            shake.Setup(info);
            shake.Reset();
            shake.StartP1(1.2f, 0.75f);
        }