Created
February 7, 2020 19:20
-
-
Save EngineerSmith/593fa624fadb75758d0e5def61fd47be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appleCake.mark("event") | |
local function state.begin() | |
appleCake.mark("State entered begin", "t") | |
end | |
local function isValid(foo) | |
appleCake.mark("Validating", nil, foo) -- nil will be replaced with "p" | |
end | |
function love.keypressed(key) | |
appleCake.mark("Key pressed", "p", {key=key}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment