UK
games/sorcery / src / Game / FloorObject.php · commit 613f5fb
<?phpnamespace App\Game;final class FloorObject{    public int $y = 0;    public int $x = 0;    public int $item = Values::NONE;    public function set(int $y, int $x, int $item): void    {        $this->y = $y;        $this->x = $x;        $this->item = $item;    }    public function copyFrom(FloorObject $o): void    {        $this->y = $o->y;        $this->x = $o->x;        $this->item = $o->item;    }}