Skip to content

Commit

Permalink
Imrpove documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
conde2 committed Nov 18, 2023
1 parent a98fbdc commit 63a35f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/game_attachedeffects/attachedeffects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ controller = Controller:new()
g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(1))
g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(2))
g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(3))
g_game.getLocalPlayer():getTile():attachEffect(g_attachedEffects.getById(1))
end
function controller:onGameEnd()
Expand Down
1 change: 1 addition & 0 deletions modules/game_attachedeffects/effects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
speed, disableWalkAnimation, shader, drawOnUI, opacity
duration, loop, transform, hideOwner, size{width, height}
offset{x, y, onTop}, dirOffset[dir]{x, y, onTop},
light { color, intensity}, drawOrder(only for tiles),
onAttach, onDetach
}
]] --
Expand Down

0 comments on commit 63a35f6

Please sign in to comment.