Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

save

Description

Called when saving the logic piece to a save file.

Returns

1 table

the data to save. Must contain the id of the logic piece in the form of {id = }

Example

-- taken from game/logic_pieces/logic_piece.lua


function logicPiece:save()
	return {id = self.id}
end