-
Notifications
You must be signed in to change notification settings - Fork 0
/
RadiatingDendrites.java
29 lines (24 loc) · 968 Bytes
/
RadiatingDendrites.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
27
28
29
//==============================================================================================\\
//=11/20/2015 Alexander Alava=\\
//=RadiatingDendrites.java Isaac Roberts=\\
//= =\\
//= This is one of the classes defining a specific type of snowflake and its characteristics =\\
//==============================================================================================\\
public class RadiatingDendrites extends SnowFlake
{
public RadiatingDendrites()
{
setType(20);
setDiameter((gen.nextDouble()*2+6));
setRadius();
}
void melt()
{
// toString test can go here
double d = getDiameter();
int t = getType();
d -= (d / (t+meltModifier));
setDiameter(d);
setRadius();
}
}