Example #1
0
    /* == 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;
    }
Example #2
0
 public void GetTurnComponent(GetComponentControllerParam param)
 {
     param.obj = this.gameObject;
 }