mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
18 lines
283 B
JavaScript
18 lines
283 B
JavaScript
|
"use strict";
|
||
|
|
||
|
import Vector from './Utilities/Vector.js';
|
||
|
|
||
|
class ChunkReference extends Vector
|
||
|
{
|
||
|
constructor(inPlaneName, inX, inY)
|
||
|
{
|
||
|
super(inX, inY);
|
||
|
this.planeName = inPlaneName;
|
||
|
}
|
||
|
|
||
|
toString()
|
||
|
{
|
||
|
return `ChunkReference: (${this.x}, ${this.y}, ${this.planeName})`;
|
||
|
}
|
||
|
}
|