mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-16 10:45:09 +00:00
* wip backport of custom uniforms * Functioning custom uniforms maybe? * Workon separating dynamic/non-dynamic uniforms and making variables available to custom uniforms (currently the JVM dies horribly) * wip * It no longer crashes horrifically * star imports
17 lines
455 B
Java
17 lines
455 B
Java
package kroppeb.stareval.expression;
|
|
|
|
import kroppeb.stareval.function.FunctionContext;
|
|
import kroppeb.stareval.function.FunctionReturn;
|
|
|
|
import java.util.Collection;
|
|
|
|
public interface Expression {
|
|
void evaluateTo(FunctionContext context, FunctionReturn functionReturn);
|
|
|
|
default Expression partialEval(FunctionContext context, FunctionReturn functionReturn) {
|
|
return this;
|
|
}
|
|
|
|
void listVariables(Collection<? super VariableExpression> variables);
|
|
}
|