Esempio n. 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");
			}			
		}
Esempio n. 2
0
 public override void __init__()
 {
     Event.fireOut("onAvatarEnterWorld", new object[] { KBEngineApp.app.entity_uuid, id, this });
     combat = new Combat(this);
 }
Esempio n. 3
0
 public override void __init__()
 {
     combat = new Combat(this);
 }
Esempio n. 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");
     }
 }