MCPcopy Create free account
hub / github.com/atas76/openengine / TeamImpl

Class TeamImpl

src/main/java/org/openengine/prototype/domain/TeamImpl.java:3–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package org.openengine.prototype.domain;
2
3public class TeamImpl implements Team {
4
5 private String name;
6 private Squad squad;
7
8 public TeamImpl(String name) {
9 this.name = name;
10 this.squad = new Squad();
11 }
12
13 public TeamImpl(String name, Squad squad) {
14 this.name = name;
15 this.squad = squad;
16 }
17
18 public String getName() {
19 return this.name;
20 }
21
22 public Squad getSquad() {
23 return this.squad;
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected