mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
lagde en klasse som sender blir brukt til å sende information til serveren om programmet til alle spillerene og dere powerdown status
This commit is contained in:
parent
62f492490c
commit
0d68f3a8f7
@ -0,0 +1,24 @@
|
||||
package inf112.fiasko.roborally.networking.containers;
|
||||
|
||||
import inf112.fiasko.roborally.objects.ProgrammingCard;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ProgramAndPowerdownRequest {
|
||||
private Boolean powerdown;
|
||||
private List<ProgrammingCard> program;
|
||||
|
||||
public ProgramAndPowerdownRequest(){}
|
||||
public ProgramAndPowerdownRequest(Boolean powerdown, List<ProgrammingCard> program) {
|
||||
this.program=program;
|
||||
this.powerdown = powerdown;
|
||||
}
|
||||
|
||||
public List<ProgrammingCard> getProgram() {
|
||||
return program;
|
||||
}
|
||||
|
||||
public Boolean getPowerdown() {
|
||||
return powerdown;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user