Guest User

Untitled

a guest
May 21st, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     function tileDefs() {
  2.         tileDefinitions = new Vector<Vector<Dynamic>>();
  3.        
  4.         tileDefinitions[Type.enumIndex(WALL)] = new Vector<Dynamic>(2,true);
  5.         tileDefinitions[Type.enumIndex(WALL)][Type.enumIndex(NAME)] = "Wall";
  6.         tileDefinitions[Type.enumIndex(WALL)][Type.enumIndex(COLOR)] = 0x666666;
  7.        
  8.         tileDefinitions[Type.enumIndex(FLOOR)] = new Vector<Dynamic>(2,true);
  9.         tileDefinitions[Type.enumIndex(FLOOR)][Type.enumIndex(NAME)] = "Floor";
  10.         tileDefinitions[Type.enumIndex(FLOOR)][Type.enumIndex(COLOR)] = 0xFFFFFF;
  11.     }
Add Comment
Please, Sign In to add comment