/* == Virtual Methods =================================================== */ virtual protected void start() { GetComponentControllerParam subObj = new GetComponentControllerParam(); RelPos[] positions = { RelPos.Bottom }; this.anim = Animation.None; this.downCount = 0; this.facing = Dir.Back; this.BroadcastMessage("GetShakeComponent", subObj, BroadOpts.DontRequireReceiver); this.shaker = subObj.obj; this.BroadcastMessage("GetTurnComponent", subObj, BroadOpts.DontRequireReceiver); this.turner = subObj.obj; this.setCollisionDownCallback(positions); this.delayingFall = false; }
public void GetTurnComponent(GetComponentControllerParam param) { param.obj = this.gameObject; }