Skip to content

ContraptionsGame

namespace Griff.Modules.Contraptions;
public static class ContraptionsGame

What a script can ask of the building tools, as members of Game (Game.Tools, Game.Undo()): what’s held or picked, and undoing what they made.

public static bool Undo(Game game)
public static Entity? get_Grabbed(Game game)
public static Entity? get_ToolFirst(Game game)
public static SandboxTools? get_Tools(Game game)