mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
structure class added, phar plugins support
This commit is contained in:
parent
bc75dd9efa
commit
95dbf588c5
9 changed files with 160 additions and 12 deletions
|
|
@ -9,7 +9,13 @@ class Vector3{
|
|||
$this->y = $y;
|
||||
$this->z = $z;
|
||||
}
|
||||
|
||||
|
||||
public function setXYZ($x, $y, $z){
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
$this->z = $z;
|
||||
}
|
||||
|
||||
public function getFloorX(){
|
||||
return (int) $this->x;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue