Sourcecode

Liveparticle/de/themarcraft/partikel/Position.php


Position.php

<?php

namespace de\themarcraft\partikel;

class Position
{
    private int $x;
    private int $y;

    public function __construct(int $x, int $y){
        $this->x = $x;
        $this->y = $y;
    }

    public function getY(): int
    {
        return $this->y;
    }

    public function getX(): int
    {
        return $this->x;
    }
}