Changes between Version 33 and Version 34 of ProtocolOne


Ignore:
Timestamp:
Jun 29, 2011 1:54:16 PM (13 years ago)
Author:
jherwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolOne

    v33 v34  
    9797''Example''
    9898{{{
    99                 Client client = new Client("127.0.0.1");
    100                 Client client2 = new Client("127.0.0.1");
    101                 Client client3 = new Client("127.0.0.1");
    102                 client.name("Bo");
    103                 client2.name("Luke");
    104                 client3.name("Daisy");
    105                 client.ready();
    106                 client2.ready();
    107                 client2.moveForever();
    108                 client2.followEntity(client.qid);
    109                 client3.ready();
    110                 client3.switchWeapon(weapon.SHOTGUN);
    111                 client3.say("Y'all get back here!");
     99Client client = new Client("127.0.0.1");
     100Client client2 = new Client("127.0.0.1");
     101Client client3 = new Client("127.0.0.1");
     102client.name("Bo");
     103client2.name("Luke");
     104client3.name("Daisy");
     105client.ready();
     106client2.ready();
     107client2.moveForever();
     108client2.followEntity(client.qid);
     109client3.ready();
     110client3.switchWeapon(weapon.SHOTGUN);
     111client3.say("Y'all get back here!");
     112client3.faceEntityDirection(client2.qid);
     113client3.fireWeapon()
    112114}}}
    113115