NAME
Slick::Route
SYNOPSIS
An OO wrapper around a central callback and the route path itself.
Inherits from Slick::EventHandler.
API
route
Returns the route at which this Slick::Route is responsible for.
callback
Returns a CodeRef
to the callback that will be called with the route is hit.
dispatch
Dispatches a Slick and a Slick::Context against all local events and the callback.