Project Zomboid Lua Docs 42.13.0
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISBuildingRoomsEditor_ToolRemoveRect Class Reference
Inheritance diagram for ISBuildingRoomsEditor_ToolRemoveRect:
ISBuildingObject ISBaseObject

Public Member Functions

void create (number x, number y, number z, nil north, nil sprite)
boolean isValid (IsoGridSquare square)
void render (number x, number y, number z, IsoGridSquare square)
void activate ()
void deactivate ()
IsoGridSquare pickSquare (nil screenX, nil screenY)
void reset ()
string getAPrompt ()
string getLBPrompt ()
string getRBPrompt ()
 ISBuildingRoomsEditor_ToolRemoveRect (ISBuildingRoomsEditor editor)
Public Member Functions inherited from ISBuildingObject
void initialise ()
void setCanPassThrough (string passThrough)
void setNorthSprite (string sprite)
void setEastSprite (string sprite)
void setSouthSprite (string sprite)
void setSprite (string sprite)
void setDragNilAfterPlace (boolean nilAfter)
ISBuildAction tryBuild (number x, number y, number z)
void onActionComplete ()
boolean walkTo (number x, number y, number z)
void onTimedActionStart (ISBaseTimedAction action)
void onTimedActionStop (ISBaseTimedAction action)
void updateModData ()
boolean haveMaterial (IsoGridSquare square)
void reinit ()
void reset ()
void init ()
string getSprite ()
boolean isValid (IsoGridSquare square)
void render (number x, number y, number z, IsoGridSquare square)
void rotateKey (integer key)
void rotateMouse (number x, number y)
void deactivate ()
void onJoypadPressButton (integer joypadIndex, JoypadData joypadData, integer button)
void onJoypadDirDown (JoypadData joypadData)
void onJoypadDirUp (JoypadData joypadData)
void onJoypadDirRight (JoypadData joypadData)
void onJoypadDirLeft (JoypadData joypadData)
string getAPrompt ()
string getBPrompt ()
string getYPrompt ()
string getLBPrompt ()
string getRBPrompt ()
IsoSprite getFloorCursorSprite ()
void update ()
void renderOpaqueObjectsInWorld (number x, number y, number z, IsoGridSquare square)
Public Member Functions inherited from ISBaseObject
void initialise ()
ISBaseObject derive (string type)
void addEventListener (string _event, function _callback, unknown _target)
void removeEventListener (string _event, function _callback)
void triggerEvent (string _event, unknown ...)
void clearEventListeners ()
 ISBaseObject ()

Public Attributes

number mouseOverRect
number player
IsoPlayer character
boolean skipBuildAction
boolean noNeedHammer
boolean skipWalk
ISBuildingRoomsEditor editor
integer playerNum
umbrella::RGBA zoneColor
Public Attributes inherited from ISBuildingObject
boolean canPassThrough
string northSprite
string eastSprite
string southSprite
string sprite
string chosenSprite
boolean dragNilAfterPlace
boolean blockBuild
boolean isLeftDown
boolean clickedUI
boolean canBeBuild
boolean build
IsoGridSquare square
integer nSprite
boolean north
boolean south
boolean east
boolean west
number xJoypad
number yJoypad
number zJoypad
boolean isWallLike
boolean isCorner
string completionSound
boolean canBeAlwaysPlaced
boolean isContainer
boolean canBarricade
number thumpDmg
boolean isDoor
boolean isDoorFrame
number crossSpeed
boolean blockAllTheSquare
boolean dismantable
boolean canBePlastered
boolean hoppable
boolean isThumpable
boolean isFloor
table modData
IsoSprite RENDER_SPRITE_FLOOR
IsoSprite RENDER_SPRITE
string RENDER_SPRITE_NAME
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Additional Inherited Members

Static Public Member Functions inherited from ISBuildingObject
static void onDestroy (IsoThumpable thump, IsoPlayer player)
static void removeFromGround (IsoGridSquare square)
Static Public Attributes inherited from ISBuildingObject
static IsoSprite floorCursorSprite

Constructor & Destructor Documentation

◆ ISBuildingRoomsEditor_ToolRemoveRect()

ISBuildingRoomsEditor_ToolRemoveRect::ISBuildingRoomsEditor_ToolRemoveRect ( ISBuildingRoomsEditor editor)

Member Function Documentation

◆ activate()

void ISBuildingRoomsEditor_ToolRemoveRect::activate ( )

◆ create()

void ISBuildingRoomsEditor_ToolRemoveRect::create ( number x,
number y,
number z,
nil north,
nil sprite )

◆ deactivate()

void ISBuildingRoomsEditor_ToolRemoveRect::deactivate ( )

◆ getAPrompt()

string ISBuildingRoomsEditor_ToolRemoveRect::getAPrompt ( )

◆ getLBPrompt()

string ISBuildingRoomsEditor_ToolRemoveRect::getLBPrompt ( )

◆ getRBPrompt()

string ISBuildingRoomsEditor_ToolRemoveRect::getRBPrompt ( )

◆ isValid()

boolean ISBuildingRoomsEditor_ToolRemoveRect::isValid ( IsoGridSquare square)

◆ pickSquare()

IsoGridSquare ISBuildingRoomsEditor_ToolRemoveRect::pickSquare ( nil screenX,
nil screenY )

◆ render()

void ISBuildingRoomsEditor_ToolRemoveRect::render ( number x,
number y,
number z,
IsoGridSquare square )

◆ reset()

void ISBuildingRoomsEditor_ToolRemoveRect::reset ( )

Member Data Documentation

◆ character

IsoPlayer ISBuildingRoomsEditor_ToolRemoveRect::character

◆ editor

ISBuildingRoomsEditor ISBuildingRoomsEditor_ToolRemoveRect::editor

◆ mouseOverRect

number ISBuildingRoomsEditor_ToolRemoveRect::mouseOverRect

◆ noNeedHammer

boolean ISBuildingRoomsEditor_ToolRemoveRect::noNeedHammer

◆ player

number ISBuildingRoomsEditor_ToolRemoveRect::player

◆ playerNum

integer ISBuildingRoomsEditor_ToolRemoveRect::playerNum

◆ skipBuildAction

boolean ISBuildingRoomsEditor_ToolRemoveRect::skipBuildAction

◆ skipWalk

boolean ISBuildingRoomsEditor_ToolRemoveRect::skipWalk

◆ zoneColor

umbrella::RGBA ISBuildingRoomsEditor_ToolRemoveRect::zoneColor

The documentation for this class was generated from the following file: