} ///@property(readwrite,assign) bool stillHasMapObject; public Tree() { //if (!base.init()) return null; shake = null; //return this; }
public StartingGate() { //if (!base.init()) return null; this.Reset(); animOpen = new Zanimation(); animClose = new Zanimation(); shake = new Zshake(); //return this; }
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); }