Revision bff329fb
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/library/type/Static2D.java | ||
---|---|---|
44 | 44 |
y = oy; |
45 | 45 |
} |
46 | 46 |
|
47 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
48 |
/** |
|
49 |
* Copy constructor. |
|
50 |
*/ |
|
51 |
public Static2D(Static2D sta) |
|
52 |
{ |
|
53 |
super(2); |
|
54 |
x = sta.x; |
|
55 |
y = sta.y; |
|
56 |
} |
|
57 |
|
|
47 | 58 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
48 | 59 |
/** |
49 | 60 |
* Reset the value of the floats to (ox,oy). |
Also available in: Unified diff
Copy constructors for the Statics.