Package netWorking

Examples of netWorking.SimpleShoot


            new Point(player.getLocation().row, player
                .getLocation().col),
            (int) (xdiff * (5 / length)),
            (int) (ydiff * (5 / length)));
       
        if(i==1)cm.sendObject(new SimpleShoot(player.getLocation().col, player
                .getLocation().row, (int) (xdiff * (5 / length)),
                (int) (ydiff * (5 / length))));
        else hm.sendObject(new SimpleShoot(player.getLocation().col, player
            .getLocation().row, (int) (xdiff * (5 / length)),
            (int) (ydiff * (5 / length))));
        // player.shoot();
      }
    }
View Full Code Here

TOP

Related Classes of netWorking.SimpleShoot

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.