Source code: org/xmud/client/client1.java
1 /***** Copyright (c) 2002 Hector Gonzalez. Unlimited rights to
2 duplicate and use this code are hereby granted provided that this
3 copyright notice is included.
4 *****/
5 package org.xmud.client;
6
7 import org.xmud.graphicsengine.*;
8 import javax.vecmath.*;
9
10 public class client1 extends Thread{
11
12 public static void main(String[] args){
13 engine e = new engine(false);
14 movementHandler mh = e.mh;
15
16 for(int i=0;i<3;i++){
17 Vector3d forw = new Vector3d(0.0f,0.0f,-1.0);
18 Vector3d tmove = new Vector3d();
19 mh.checkMove(0,forw,0,"none",tmove);
20 mh.executeMove(0,tmove,0);
21 }
22 }
23 }