reform nn_EnvironmentRequest (i did a stupid)
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
package org.neoflock.NeoNucleus;
|
||||
|
||||
public final class nn_EnvironmentRequest {
|
||||
public final class nn_EnvironmentRequest extends PointerBackedClass {
|
||||
public final nn_Computer computer;
|
||||
public final nn_EnvironmentAction action;
|
||||
private nn_EnvironmentRequest(nn_Computer computer, nn_EnvironmentAction action) {
|
||||
|
||||
// these three props below can be nullable
|
||||
public final Double energy;
|
||||
public final nn_Beep beep;
|
||||
public final nn_MorseBeep morseBeep;
|
||||
private nn_EnvironmentRequest(
|
||||
nn_Computer computer, nn_EnvironmentAction action,
|
||||
Double energy, nn_Beep beep, nn_MorseBeep morseBeep
|
||||
) {
|
||||
this.computer = computer;
|
||||
this.action = action;
|
||||
this.energy = energy;
|
||||
this.beep = beep;
|
||||
this.morseBeep = morseBeep;
|
||||
}
|
||||
public native double getEnergy();
|
||||
public native nn_Beep getBeep();
|
||||
public native nn_MorseBeep getMorseBeep();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user