Class Freq
java.lang.Object
Freq
- Direct Known Subclasses:
- Jammer, Link
public abstract class Freq
- extends Object
Abstract class Freq - sed for Links and Jammers
- Version:
- 0.1
- Author:
- Aaron
Constructor Summary |
Freq()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Freq
public Freq()
getFreq
public double getFreq()
rand
public double rand()
setFreq
public double setFreq(int num)
- Parameters:
num
- the number you want to change the link's frequency to.
- Returns:
- what the frequency has now been set as.