-
Notifications
You must be signed in to change notification settings - Fork 0
/
SkeletalForms.java
26 lines (23 loc) · 921 Bytes
/
SkeletalForms.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//==============================================================================================\\
//=11/20/2015 Alexander Alava=\\
//=SkeletalForms.java Isaac Roberts=\\
//= =\\
//= This is one of the classes defining a specific type of snowflake and its characteristics =\\
//==============================================================================================\\
public class SkeletalForms extends SnowFlake
{
public SkeletalForms()
{
setType(19);
setDiameter((gen.nextDouble()*2+6));
setRadius();
}
void melt()
{
double d = getDiameter();
int t = getType();
d -= (d / (t+meltModifier));
setDiameter(d);
setRadius();
}
}