Created
October 30, 2013 03:30
-
-
Save videlais/7226823 to your computer and use it in GitHub Desktop.
ActionScript 3 Example 8 Assets Version 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
/** | |
* ... | |
* @author Dan Cox | |
*/ | |
public class Assets | |
{ | |
[Embed(source="data/houseTiles.png")] | |
public static var houseTilesPng:Class; | |
[Embed(source="data/house1.txt",mimeType="application/octet-stream")] | |
public static var house1Txt:Class; | |
[Embed(source="data/house2.txt",mimeType="application/octet-stream")] | |
public static var house2Txt:Class; | |
[Embed(source="data/house3.txt",mimeType="application/octet-stream")] | |
public static var house3Txt:Class; | |
[Embed(source="data/house4.txt",mimeType="application/octet-stream")] | |
public static var house4Txt:Class; | |
[Embed(source="data/tilemap.png")] | |
public static var villagePng:Class; | |
[Embed(source="data/map1.txt",mimeType="application/octet-stream")] | |
public static var villageTxt:Class; | |
[Embed(source="data/NPC1.png")] | |
public static var NPCPng:Class; | |
[Embed(source="data/walk.png")] | |
public static var PlayerWalkPng:Class; | |
public function Assets() | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment