Beispiel #1
0
		public override void __init__()
		{
			combat = new Combat(this);
			
			if(isPlayer())
			{
				Event.registerIn("relive", this, "relive");
				Event.registerIn("useTargetSkill", this, "useTargetSkill");
				Event.registerIn("jump", this, "jump");
			}			
		}
Beispiel #2
0
 public override void __init__()
 {
     Event.fireOut("onAvatarEnterWorld", new object[] { KBEngineApp.app.entity_uuid, id, this });
     combat = new Combat(this);
 }
Beispiel #3
0
 public override void __init__()
 {
     combat = new Combat(this);
 }
Beispiel #4
0
 public override void __init__()
 {
     combat = new Combat(this);
     if (isPlayer())
     {
         Event.registerIn("relive", this, "relive");
         Event.registerIn("updatePlayer", this, "updatePlayer");
         Event.registerIn("sendChatMessage", this, "sendChatMessage");
     }
 }