Skip to content
Snippets Groups Projects
Commit bcf49e13 authored by Michael's avatar Michael
Browse files

Blankenbeker HW 2 Submission; MyMulticastSender, MyMulticastReceiver,

and Truck classes committed.
parent 5bd76085
No related branches found
No related tags found
No related merge requests found
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mv3500code;
/**
*
* @author Michael
*/
public class Truck {
private float x;
private float y;
private float z;
public Truck(){
x = 0;
y=0;
z=0;
}
public void move(){
x+=1.5;
y+=1.2;
z-=.2;
}
/**
*
* @return
*/
public float getX(){
return x;
}
public float getY(){
return y;
}
public float getZ(){
return z;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment