Changeset 52f778b in java-rpg-server for ProcessingThread.java
- Timestamp:
- Jun 11, 2010, 5:07:30 PM (15 years ago)
- Branches:
- master
- Parents:
- 4fbc6ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProcessingThread.java
r4fbc6ff r52f778b 36 36 target = p.getTarget(); 37 37 38 //if((System.currentTimeMillis()-p.getLastMoved())>=10) {38 if((System.currentTimeMillis()-p.getLastMoved())>=10) { 39 39 if(Point.dist(loc, target) <= p.getSpeed()) 40 40 p.setLoc(target); … … 47 47 p.setLastMoved(System.currentTimeMillis()); 48 48 server.sendAll(MessageType.Movement, p.getName()+" "+p.getLoc().toString()); 49 //}49 } 50 50 } 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.