///////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2010-2011 Wolfgang Kowarschick // // Dieses Werk darf unter den Bedingungen der Creative Common Lizenz by-nc 3.0 de // (http://creativecommons.org/licenses/by-nc/3.0/de/) // vervielfaeltigt, verbreitet, publiziert und modifiziert werden. ///////////////////////////////////////////////////////////////////////////////// package as3.component.board.data { import as3.enumeration.I_Enum; import flash.events.Event; /** * @autor Wolfgang Kowarschick * @category class * @langversion 3.0 */ public class EventDataTile extends Event { ///////////////////////////////////////////////////////////////////////////// // Attributes ///////////////////////////////////////////////////////////////////////////// private var v_x: uint; private var v_y: uint; private var v_tile: I_Enum; public function get x(): uint { return v_x; } public function get y(): uint { return v_y; } public function get tile(): I_Enum { return v_tile; } ///////////////////////////////////////////////////////////////////////////// // Constructor ///////////////////////////////////////////////////////////////////////////// public function EventDataTile(p_x: uint, p_y: uint, p_tile: I_Enum) { super(Event.CHANGE, true, true); v_x = p_x; v_y = p_y; v_tile = p_tile; } ///////////////////////////////////////////////////////////////////////////// // Tracing ///////////////////////////////////////////////////////////////////////////// public override function toString(): String { return formatToString("EventDataBoard", "type", "bubbles", "cancelable", "x", "y", "tile" ); } ///////////////////////////////////////////////////////////////////////////// // End of class ///////////////////////////////////////////////////////////////////////////// } } ///////////////////////////////////////////////////////////////////////////////// // End of file /////////////////////////////////////////////////////////////////////////////////