blob: 0682624a806a0a3a88a2b173f8c39660a064d077 [file] [log] [blame] [raw]
package li.cil.oc.api.scala;
import li.cil.oc.api.{ IComputerContext => IJavaComputerContext }
import net.minecraft.world.World
trait IComputerContext extends IJavaComputerContext {
def world: World
def signal(name: String, args: Any*): Boolean
// ----------------------------------------------------------------------- //
def getWorld = world
def signal(name: String, args: Array[Object]): Boolean =
signal(name, args: _*)
}