Commits
sk89q authored and Nathan Adams committed c81b816b723
1 1 | package org.bukkit; |
2 2 | |
3 3 | /** |
4 4 | * Represents a mutable vector. |
5 5 | * |
6 6 | * @author sk89q |
7 7 | */ |
8 8 | public class Vector implements Cloneable { |
9 9 | private static final long serialVersionUID = -2657651106777219169L; |
10 10 | |
11 - | private double x; |
12 - | private double y; |
13 - | private double z; |
11 + | protected double x; |
12 + | protected double y; |
13 + | protected double z; |
14 14 | |
15 15 | public Vector(int x, int y, int z) { |
16 16 | this.x = x; |
17 17 | this.y = y; |
18 18 | this.z = z; |
19 19 | } |
20 20 | |
21 21 | public Vector(double x, double y, double z) { |
22 22 | this.x = x; |
23 23 | this.y = y; |