21 public function __construct(
22 private int $steepBlock,
23 private bool $northSlopes,
24 private bool $southSlopes,
25 private bool $westSlopes,
26 private bool $eastSlopes,
27 private bool $topSlideEnabled,
30 public function getSteepBlock() :
int{
return $this->steepBlock; }
32 public function hasNorthSlopes() :
bool{
return $this->northSlopes; }
34 public function hasSouthSlopes() :
bool{
return $this->southSlopes; }
36 public function hasWestSlopes() :
bool{
return $this->westSlopes; }
38 public function hasEastSlopes() :
bool{
return $this->eastSlopes; }
40 public function hasTopSlideEnabled() :
bool{
return $this->topSlideEnabled; }
48 $topSlideEnabled = $in->
getBool();
61 $out->putLInt($this->steepBlock);
62 $out->putBool($this->northSlopes);
63 $out->putBool($this->southSlopes);
64 $out->putBool($this->westSlopes);
65 $out->putBool($this->eastSlopes);
66 $out->putBool($this->topSlideEnabled);