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