init.lua 528 B

1234567891011121314151617
  1. -- Copyright (c) 2011-2012 Casey Baxter
  2. -- See LICENSE file for details
  3. local PATH = (...):gsub("[\\/]", "") .. '.'
  4. -- Return the classes in a table
  5. return {
  6. Map = require(PATH .. "Map"),
  7. TileLayer = require(PATH .. "TileLayer"),
  8. --Tile = require(PATH .. "Tile"),
  9. TileSet = require(PATH .. "TileSet"),
  10. Object = require(PATH .. "Object"),
  11. ObjectLayer = require(PATH .. "ObjectLayer"),
  12. Loader = require(PATH .. "Loader"),
  13. --Grid = require(PATH .. "Grid"),
  14. }