class Class1536229144976
{
	constructor(owner)
	{
		this.owner=owner;
		this._vars=[];
	}
	addEvents()
	{
		this.owner.on("triggerenter",this,this.triggerenter0);
		laya.maker.utils.EventAgency.INSTANCE.on("jump",this,this.eventAgency0);
	}
	removeEvents()
	{
		this.owner.off("triggerenter",this,this.triggerenter0);
		laya.maker.utils.EventAgency.INSTANCE.off("jump",this,this.eventAgency0);
	}
	triggerenter0(other)
	{
		MakerSystemAction.setVVelocity(this.owner,-10);
		if(other.label == "over")
		{
			MakerSystemAction.switchScene("mainScene/over.scene",1,0,"0");
		}
	}
	eventAgency0(value)
	{
		MakerSystemAction.setVVelocity(this.owner,-10);
	}
}
