Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. package nl.SElectie;
  2.  
  3. import java.io.Serializable;
  4.  
  5. public class EnemyDirectionMessage implements Serializable {
  6.     private double direction;
  7.     private String name;
  8.  
  9.     public EnemyDirectionMessage(double direction, String name) {
  10.         this.direction = direction;
  11.         this.name = name;
  12.     }
  13.  
  14.     public double getDirection() {
  15.         return direction;
  16.     }
  17.  
  18.     public String getName() {
  19.         return name;
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement