Setup
Get the Plugin
If you don't already have it, get the Classy OOP plugin from the Corona Marketplace.
Enable the Plugin
Enable the plugin by adding an entry to the plugins table of your projects build.settings file:
settings = { plugins = { ["plugin.classy"] = { publisherId = "com.develephant" }, }, }
Require the Plugin
In your code file make sure to require
the plugin.
local Classy = require("plugin.classy")
You're ready to start building using OOP! Move on the Usage section to learn more.