// Path: src/main/java/be/swsb/productivity/chapter2/mud/service/BallService.java
// public interface BallService {
//     BallTO findBall(String id);
// }
// 
// Path: src/main/java/be/swsb/productivity/chapter2/mud/service/BallTO.java
// public class BallTO {
//     private String id;
//     private int size;
// 
//     public BallTO() {
//     }
// 
//     public String getId() {
//         return id;
//     }
// 
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     public int getSize() {
//         return size;
//     }
// 
//     public void setSize(int size) {
//         this.size = size;
//     }
// }


import be.swsb.productivity.chapter2.mud.service.BallService;
import be.swsb.productivity.chapter2.mud.service.BallTO;
package be.swsb.productivity.chapter2.mud.ui;


public class BallScreen {

    private BallService ballService;

    public BallScreen(BallService ballService) {
        this.ballService = ballService;
    }

    public void render(){
// Path: src/main/java/be/swsb/productivity/chapter2/mud/service/BallService.java
// public interface BallService {
//     BallTO findBall(String id);
// }
// 
// Path: src/main/java/be/swsb/productivity/chapter2/mud/service/BallTO.java
// public class BallTO {
//     private String id;
//     private int size;
// 
//     public BallTO() {
//     }
// 
//     public String getId() {
//         return id;
//     }
// 
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     public int getSize() {
//         return size;
//     }
// 
//     public void setSize(int size) {
//         this.size = size;
//     }
// }


// Path: src/main/java/be/swsb/productivity/chapter2/mud/ui/BallScreen.java
import be.swsb.productivity.chapter2.mud.service.BallService;
import be.swsb.productivity.chapter2.mud.service.BallTO;

package be.swsb.productivity.chapter2.mud.ui;


public class BallScreen {

    private BallService ballService;

    public BallScreen(BallService ballService) {
        this.ballService = ballService;
    }

    public void render(){
        BallTO ballTO = ballService.findBall("one");