diff options
Diffstat (limited to 'src/paperflight/static/items.js')
-rw-r--r-- | src/paperflight/static/items.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/paperflight/static/items.js b/src/paperflight/static/items.js index 14ec8eb..c368f81 100644 --- a/src/paperflight/static/items.js +++ b/src/paperflight/static/items.js @@ -54,4 +54,12 @@ function constructText(x, y, text, font){ style: "black", x, y, text, font } +} +function constructDrip(x, y, frequency){ + return { + draw: drawDrip, + update: updateDrip, + drips: [], + x, y, frequency + } }
\ No newline at end of file |