| M | |
| MapEditorUI, com. | |
| mapName, com. | |
| mapName_txt, com. | |
| MapObject, com. | |
| MapObjectSettings, com. | |
| mapPath, com. | |
| mapScrollX, com. | |
| mapScrollY, com. | |
| mark, com. | |
| MARK_COLOR, com. | |
| MARKER_DEPTH, com. | |
| markLayer, com. | |
| markRegistrationPoint, com. | |
| maskHitTest, com. | |
| maskMap, com. | |
| MAX_CHARACTER_TILE_STACK, com. | |
| MAX_DIRECTIONS, com. | |
| MAX_FLOOR_TILE_STACK, com. | |
| MAX_FURNITURE_TILE_STACK, com. | |
| MAX_ROW_ZORDER, com. | |
| MAX_TILE_STACK, com. | |
| maxMessageLength, com. | |
| maxUsers, com. | |
| MESSAGE_BODY_BEGIN, com. | |
| MESSAGE_END, com. | |
| MESSAGE_FROM_BEGIN, com. | |
| message_txt, com. | |
| MODE_BACKGROUND, com. | |
| MODE_CHARACTER, com. | |
| MODE_FLOOR, com. | |
| MODE_FOREGROUND, com. | |
| MODE_FURNITURE, com. | |
| MODE_MAP_EDIT, com. | |
| MODE_NONE, com. | |
| MODE_TEST_MAP, com. | |
| MODE_WORLD_SETTINGS, com. | |
| modeCursor, com. | |
| modeEdition, com. | |
| moderator_name, com. | |
| moderator_pass, com. | |
| MODERATOR_PLUGIN, com. | |
| mouseX, com. | |
| mouseY, com. | |
| moveCharacter, com. | |
| moveCharacterTest, com. | |
| moveDirProcessing, com. | |
| moveNetCharacter, com. | |
| moveToDir, com. | |
| moveToTile | |
| moving, com. | |
| myName, com. | |
| N | |
| name, com. | |
| nameTxt, com. | |
| netCharacterCorrection, com. | |
| netCharacterSay, com. | |
| netID |
public function MapEditorUI()
public function set mapName( s: String ):Void
private var mapName_txt: TextField
public function MapObject( target: MovieClip, spriteMCName: String, spriteMCZOrder: Number, tileX: Number, tileY: Number, mos: MapObjectSettings, skipValidation: Boolean )
function MapObjectSettings( type: Number )
var mapPath: String
the ammount of scroll applied to the world/map in pixels
public function get mapScrollX():Number
the container position (Number) (movieclip containing the World objects -- floor(Tile), furniture(Furniture), characters(Character))
public function get mapScrollY():Number
used for debug to mark tiles in different colors
public function set mark( b: Boolean ):Void
private static var MARK_COLOR: Number
the depth(:Number) of the debug layer
private static var MARKER_DEPTH: Number
private var markLayer: MovieClip
private function markRegistrationPoint():Void
true if the click was on the mask and false otherwise (or if the mask is not present)
public function maskHitTest():Boolean
Mask map -- can be used hide the area of the map that is out of the scroll area
private function maskMap( minX: Number, minY: Number, maxX: Number, maxY: Number ):Void
static function get MAX_CHARACTER_TILE_STACK():Number
static function get MAX_DIRECTIONS():Number
static function get MAX_FLOOR_TILE_STACK():Number
static function get MAX_FURNITURE_TILE_STACK():Number
a z--order value calculated on initialization for speed
private var MAX_ROW_ZORDER: Number
static function get MAX_TILE_STACK():Number
the maximum number of characters in a message if the previous text bubble didn’t disappear yet, and the sum of the new message and the old message characters is less then _maxTextLength, then the new message is added to the existing bubble (appended)
public static var maxMessageLength: Number
var maxUsers: Number
private var MESSAGE_BODY_BEGIN: String
private var MESSAGE_END: String
private var MESSAGE_FROM_BEGIN: String
private var message_txt: TextField
public static function get MODE_BACKGROUND():Number
public static function get MODE_CHARACTER():Number
public static function get MODE_FLOOR():Number
public static function get MODE_FOREGROUND():Number
public static function get MODE_FURNITURE():Number
public static function get MODE_MAP_EDIT():Number
public static function get MODE_NONE():Number
public static function get MODE_TEST_MAP():Number
public static function get MODE_WORLD_SETTINGS():Number
private var modeCursor: MovieClip
private var modeEdition: Object
public static var moderator_name: String
public static var moderator_pass: String
private var MODERATOR_PLUGIN: String
getting local _xmouse coordinates
public function get mouseX():Number
getting local _ymouse
public function get mouseY():Number
makes a character move
public function moveCharacter( characterID: Number, tileX: Number, tileY: Number, dir: Number, nonStop: Boolean, latency: Number ):Void
public function moveCharacterTest():Void
moves the character to a given direction this function is used to emulate the keyboard control.
public function moveDirProcessing( dir: Number, nonStop: Boolean ):Void
* used in TheoChat * tells the character to move to a tile * this method uses overloading * if tileX, tileY is send -- move to that tile * if direction is sent -- move to that direction * call moveCharacter(ID, tileX, tileY) * or moveCharacter(ID, null, null, direction) * @param netID (String) -- network ID of the character(Character) * @param tileX position on the map (column:Number) * @param tileY position on the map (row:Number) * @param dir reduntant?
public function moveNetCharacter( netID: String, tileX: Number, tileY: Number, dir: Number, nonStop: Boolean, latency: Number ):Void
makes the character start to move in a specific direction // TODO -- implement the same for network characters
public function moveToDir( dir: Number, nonStop: Boolean ):Void
makes the character move to the indicated tile
public function moveToTile( tileX: Number, tileY: Number, latency: Number ):Void
moves a character to the given tile
public function moveToTile( tileX: Number, tileY: Number, latency: Number ):Void
the method called by setInterval -- calls the path finding function
private function moving():Void
public var myName: String
var name: String
the text field for displaying the character name
private var nameTxt: TextField
called fromTheoChat (optimize it?)
public function netCharacterCorrection( cs: CharacterSettings, cause: MapObjectSettings ):Void
text message received from another character
public function netCharacterSay( netID: String, text: String, params: Object ):Void
the network ID (String)
public function get netID ():String
net id of the character -- from server.
public var netID: String
private var netID: String