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 | |
{ | |
/** | |
* Packs a point in a uint (32 bit unsigned integer) primitive value. | |
* The advantage of using it instead of regular Point objects is that | |
* you won't create any object. Each point is a uint, thus it behaves | |
* as a primitive value (no memory allocation needed to use/copy it). | |
* | |
* Each component uses 2 bytes: | |
* x: 0xffff0000 - high bytes |
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
// | |
// TimeCounter | |
// Copyright (C) 2013 Lucas Teixeira (Disturbed Coder) | |
// Profile page: https://github.com/loteixeira | |
// | |
// This software is distribuited under the terms of the WTFPL | |
// http://www.wtfpl.net/txt/copying/ | |
// | |
package | |
{ |
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
// | |
// AS3 Pixel Conversion Utils | |
// Copyright (C) 2013 Lucas Teixeira (Disturbed Coder) | |
// Profile page: https://github.com/loteixeira | |
// | |
// This software is distribuited under the terms of the WTFPL | |
// http://www.wtfpl.net/txt/copying/ | |
// | |
package | |
{ |
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 { | |
import flash.external.ExternalInterface; | |
/** | |
* @author Lucas Teixeira (https://github.com/loteixeira) | |
* @date Feb 22, 2013 | |
*/ | |
public class JSEventDispatcher { | |
private var listeners:Object; |