public UltraRaycast6Sprite() { var body = new global::RayCaster6.ActionScript.RayCaster6(); body.InternalAtGotGold += delegate { if (AtGotItem != null) { AtGotItem("gold"); } }; body.InternalAtGotAmmo += delegate { if (AtGotItem != null) { AtGotItem("ammo"); } }; this.addChild(body); }
public UltraRaycast6Sprite() { var body = new global::RayCaster6.ActionScript.RayCaster6(); body.InternalAtGotGold += delegate { if (AtGotItem != null) AtGotItem("gold"); }; body.InternalAtGotAmmo += delegate { if (AtGotItem != null) AtGotItem("ammo"); }; this.addChild(body); }