Commit d9632bd7 authored by Matthias Möller's avatar Matthias Möller

Test

parent 91b20c8e
......@@ -50,17 +50,17 @@ public class MentalCommandComponent extends AbstractEmostateUpdatedComponent {
@Override
public void actualizeComponents() {
int lastMentalCommand = EmoState.INSTANCE.IS_MentalCommandGetCurrentAction(getEmoState());
float lastMentalCommandStrength = EmoState.INSTANCE.IS_MentalCommandGetCurrentActionPower(getEmoState());
int mentalCommandType = Edk.INSTANCE.IEE_MentalCommandEventGetType(getEmotivEvent());
int lastMentalCommand = EmoState.INSTANCE.IS_MentalCommandGetCurrentAction(getEmoState());
float lastMentalCommandStrength = EmoState.INSTANCE.IS_MentalCommandGetCurrentActionPower(getEmoState());
int mentalCommandType = Edk.INSTANCE.IEE_MentalCommandEventGetType(getEmotivEvent());
if(lastMentalCommand != this.lastMentalCommand || lastMentalCommandStrength != this.lastMentalCommandStrength){
this.lastMentalCommand = lastMentalCommand;
this.lastMentalCommandStrength = lastMentalCommandStrength;
//update
}
if(lastMentalCommand != this.lastMentalCommand || lastMentalCommandStrength != this.lastMentalCommandStrength){
this.lastMentalCommand = lastMentalCommand;
this.lastMentalCommandStrength = lastMentalCommandStrength;
//update
}
this.nextEmotivComponent.actualizeComponents();
this.nextEmotivComponent.actualizeComponents();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment