diff options
Diffstat (limited to 'src/com/macaroon/piztor/ReqUpdate.java')
-rw-r--r-- | src/com/macaroon/piztor/ReqUpdate.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/com/macaroon/piztor/ReqUpdate.java b/src/com/macaroon/piztor/ReqUpdate.java new file mode 100644 index 0000000..e4b1497 --- /dev/null +++ b/src/com/macaroon/piztor/ReqUpdate.java @@ -0,0 +1,16 @@ +package com.macaroon.piztor; + +//--------------------------------------// +// Update Location // +//--------------------------------------// + +public class ReqUpdate extends Req{ + double lat; //latitude + double lot; //longitude + + ReqUpdate(int token,double latitude,double longitude,long time,long alive){ + super(2,token,time,alive); //for type 2 + lat = latitude; + lot = longitude; + } +}
\ No newline at end of file |