| $#! | |
| __addresses, com. | |
| __connections, com. | |
| __ID__, com. | |
| __instance | |
| __world, com. | |
| _aCharacters, com. | |
| _actions, com. | |
| _addedMovieClip, com. | |
| _aFloor, com. | |
| _aFurniture, com. | |
| _an_frames, com. | |
| _anInt, com. | |
| _anyCharacterLibraryParams | |
| _aSteps, com. | |
| _aTextBubbles, com. | |
| _autoPilot, com. | |
| _backgroundCoordinates, com. | |
| _backgroundMC, com. | |
| _backgroundUrl, com. | |
| _baseAction, com. | |
| _baseWalkable, com. | |
| _bgColor, com. | |
| _borderColor, com. | |
| _brain, com. | |
| _cActionEndFrame, com. | |
| _cActionToDo, com. | |
| _catalogue, com. | |
| _cCurrentTileElevation, com. | |
| _cFutureTileElevation, com. | |
| _character, com. | |
| _characterID, com. | |
| _charactersAreSelectable, com. | |
| _charactersColors, com. | |
| _charactersLibraries, com. | |
| _charactersList, com. | |
| _charactersMoveNonStop, com. | |
| _charactersToXML, com. | |
| _chatColor, com. | |
| _chatMC, com. | |
| _confInstance, com. | |
| _containerMC | |
| _contentMC, com. | |
| _currentActionName, com. | |
| _currentRoom, com. | |
| _cursorMC, com. | |
| _cursorTile, com. | |
| _debug, com. | |
| _defaultRoomName | |
| _defaultZone, com. | |
| _defaultZoneName, com. | |
| _destinationTile, com. | |
| _direction, com. | |
| _displayName, com. | |
| _dShiftX, com. | |
| _dShiftY, com. | |
| _elevation, com. | |
| _emo, com. | |
| _emoticons | |
| _emoticonsField, com. | |
| _es, com. | |
| _externalListeners_arr, com. | |
| _flagCreatingTarget, com. | |
| _flagRoomListUpdated, com. | |
| _floorMC, com. | |
| _foregroundCoordinates, com. | |
| _foregroundMC, com. | |
| _foregroundUrl, com. | |
| _forkD, com. | |
| _fox, com. | |
| _frameHeight, com. | |
| _frameMC, com. | |
| _frameWidth, com. | |
| _furnitureCursorMC, com. | |
| _furnitureStandingOrderList, com. | |
| _gridIsHidden, com. | |
| _gridMC, com. | |
| _highestFloorTileElevation, com. | |
| _history, com. | |
| _hitTestBitmap | |
| _hitTestBitmapFirstPoint | |
| _iAmServer, com. | |
| _iCharacter, com. | |
| _iCharacterSettings, com. | |
| _ID | |
| _intermediateTile, com. | |
| _intMoving, com. | |
| _intThinking, com. | |
| _ip | |
| _isConfigSuccessed, com. | |
| _isDoingAnAction, com. | |
| _isICharacter, com. | |
| _isModerator, com. | |
| _isMoving, com. | |
| _lastKeyPressed, com. | |
| _lastObjectID, com. | |
| _latency, com. | |
| _layerBackgroundIsLocked, com. | |
| _layerBackgroundIsVisible, com. | |
| _layerCharacterIsLocked, com. | |
| _layerCharacterIsVisible, com. | |
| _layerFloorIsLocked, com. | |
| _layerFloorIsVisible, com. | |
| _layerForegroundIsLocked, com. | |
| _layerForegroundIsVisible, com. | |
| _layerFurnitureIsLocked, com. | |
| _layerFurnitureIsVisible, com. | |
| _layers, com. | |
| _layersXMLNode, com. | |
| _libraries, com. | |
| _librariesInfo, com. | |
| _library, com. | |
| _libSpeed | |
| _lineCounter, com. | |
| _login, com. | |
| _mapName, com. | |
| _mapXML, com. | |
| _markedTile, com. | |
| _markerMC, com. | |
| _maskMC, com. | |
| _maxBubbleLifeTime, com. | |
| _maxScrollX, com. | |
| _maxScrollY, com. | |
| _maxSmoothSteps, com. | |
| _maxSteps, com. | |
| _maxTextLength, com. | |
| _maxTextWidth, com. | |
| _message, com. | |
| _minBubbleLifeTime, com. | |
| _minLatency, com. | |
| _modeEdition, com. | |
| _mouseMC, com. | |
| _moveClipEventBeacon, com. | |
| _moveToDirection, com. | |
| _movingEraser, com. | |
| _myCS, com. | |
| _myLatency, com. | |
| _netID, com. | |
| _objectShape, com. | |
| _occupiedTiles, com. | |
| _oneLineHeight, com. | |
| _onEnterFrameBeaconForCursor, com. | |
| _password | |
| _phase, com. | |
| _phasesMC, com. | |
| _pingRoundTotalPingTime, com. | |
| _pingRoundTripCount, com. | |
| _pingRoundTripInterval, com. | |
| _pingRoundTripPeriod, com. | |
| _pointerCenterHeight, com. | |
| _pointerCenterOffset, com. | |
| _pointerCenterWidth, com. | |
| _port | |
| _previewMapObject, com. | |
| _previewMapObjectIsStandable, com. | |
| _previewMode, com. | |
| _prevTile, com. | |
| _pShiftX, com. | |
| _pShiftY, com. | |
| _registrationTile, com. | |
| _rollOveredCharacter, com. | |
| _roomList, com. | |
| _roomXML, com. | |
| _scrollBuffer, com. | |
| _scrollHeight, com. | |
| _scrollWidth, com. | |
| _scrollX, com. | |
| _scrollY, com. | |
| _selectable | |
| _sizeX, com. | |
| _sizeY, com. | |
| _smilesField, com. | |
| _smilesNumber, com. | |
| _smilesOnLine, com. | |
| _smilesVisibled, com. | |
| _smoothStep, com. | |
| _socket, com. | |
| _socketName, com. | |
| _speed, com. | |
| _spriteMC, com. | |
| _spriteMCName, com. | |
| _spriteMCZOrder, com. | |
| _stackable | |
| _targetMC | |
| _targetRoomName, com. | |
| _tbController, com. | |
| _teleport, com. | |
| _testMap, com. | |
| _testTextField, com. | |
| _text, com. | |
| _textBubbleCounter, com. | |
| _textField, com. | |
| _textPadding, com. | |
| _tileDiagonal | |
| _tileHeight, com. | |
| _tileWidth, com. | |
| _ui | |
| _username | |
| _users_arr | |
| _usesLeftRightSteps, com. | |
| _visibleLayers, com. | |
| _walkable | |
| _world | |
| _worldDelegates, com. | |
| _worldEditor, com. | |
| _worldLogic | |
| _worldMC, com. | |
| _worldOrigin, com. | |
| _worldTargetMC, com. | |
| _xml, com. | |
| _zoneManager, com. |
private static var __addresses: Array
private static var __connections: Object
private static var __ID__: Number
private static var __instance: Config
just one Library object can exist (Singleton).
private static var __instance: Library
private static var __instance: LocalNet
reference to a the World object
private static var __world: World
the array that contains the characters _aCharacters[n][m] = Characters (Character)
private var _aCharacters: Array
name{name:String, [attributes:*]}
private var _actions: Object
used for loading symbols from Library
private var _addedMovieClip: MovieClip
the array that contains the floor tiles _aFloor[n][m] = Tile (Tile)
private var _aFloor: Array
the array that contains the furniture _aFurniture[n][m] = Furniture (Furniture)
private var _aFurniture: Array
number(Number) of animation phases per step of animation
private var _an_frames: Number
used to store animation interval function (setInterval:Function) id
private var _anInt: Number
private var _anyCharacterLibraryParams: CharacterSettings
private var _anyCharacterLibraryParams: CharacterSettings
counts the steps till _maxSteps
private var _aSteps: Number
the array contains objects {intervalID:Number, textBubble:TextBubble} intervalID -- the time in wich the bubble will disappear textBubble -- the bubble itself
private var _aTextBubbles: Array
flag(Boolean) -- if the character is in autoPilot mode, he decides himself were to move, for example random monster movements
private var _autoPilot: Boolean
private var _backgroundCoordinates: Point
map background(:MovieClip)
private var _backgroundMC: MovieClip
private var _backgroundUrl: String
the same as with _baseWalkable it stores the current action
private var _baseAction: String
this parametters is set when initializing the World unlike Tile.oWalkable it is NOT changed.
private var _baseWalkable: Boolean
private var _bgColor: Number
private var _borderColor: Number
the reference to the CharacterLogin object
private var _brain: CharacterLogic
the number of phases/frames of the current action animation; 1 by default
private var _cActionEndFrame: Number
the action the character has to do (whenever possible.
private var _cActionToDo: Object
stores the catalogue data loaded from XML.
private var _catalogue: XML
the elevation(Number) of the current tile (Tile) -- elevation is the character own elevation -- can be different
private var _cCurrentTileElevation: Number
the elevation(Number) of the current tile (Tile) -- elevation is the character own elevation -- can be different
private var _cFutureTileElevation: Number
link to the Character
private var _character: Character
id of Character
private var _characterID: Number
a flag -- not used yet
private var _charactersAreSelectable: Boolean
private var _charactersColors: Array
private var _charactersLibraries: Array
character list for a quick reference (instead of looping the whole aCharacters 3D array) OPT define List object with lookup and other functions
private var _charactersList: Array
a flag that tells if the character keeps walking when the key is kept pressed down (not used now)
private var _charactersMoveNonStop: Boolean
private var _charactersToXML: Boolean
predefined chat message color borders.
private var _chatColor: Number
contains the chat bubbles (:TextBubble)
private var _chatMC: MovieClip
private var _confInstance: Config
just in case.
private var _containerMC: MovieClip
the top container MC(:MovieClip) that contains everything
private var _containerMC: MovieClip
the main mc(:MovieClip) containing furniture(:Furniture) and characters(:Character)
private var _contentMC: MovieClip
character animation name:String (curent)
private var _currentActionName: String
private var _currentRoom: Room
cursor movieclip(:MovieClip).
private var _cursorMC: MovieClip
remembers the cursor position A very important variable - ALL functions (place/remove/show) use it it is introduced to simplify the things, since the cursor in some cases is shown at the base level and sometimes at the elevation level
private var _cursorTile: Point
private var _debug: Boolean
private var _defaultRoomName: String
private var _defaultRoomName: String
private var _defaultZone: String
private var _defaultZoneName: String
the destination tile coordinates (where the characters moves to)
private var _destinationTile: Point
the direction(Number) the character is turned to
private var _direction: Number
character’s name (String)
private var _displayName: String
the diagonal X(Number) shift for each walking/moving animation frame
private var _dShiftX: Number
the diagonal Y(Number) shift for each walking/moving animation frame
private var _dShiftY: Number
the height:Number of the object
private var _elevation: Number
private var _emo: Emoticons
[ [“:)”, url], ..[]]
private var _emoticons: Array
[ [“:)”, url], ..[]]
private var _emoticons: Array
private var _emoticonsField: MovieClip
private var _es: ElectroServer
external listeners subscribed to the “onEndParsing” event -- called when the libraries are loaded and parced
private var _externalListeners_arr: Array
private var _flagCreatingTarget: Boolean
private var _flagRoomListUpdated: Boolean
mc(:MovieClip) containing all the floor tiles
private var _floorMC: MovieClip
private var _foregroundCoordinates: Point
map foreground (:MovieClip)
private var _foregroundMC: MovieClip
private var _foregroundUrl: String
“Fork” direction.
private var _forkD: Boolean
private var _fox: SmartFoxClient
height of {TextBubble._frameMC}
private var _frameHeight: Number
private var _frameMC: MovieClip
width of {TextBubble._frameMC}
private var _frameWidth: Number
private var _furnitureCursorMC: MovieClip
the array that stores the ORDER in which the furniture is added to the map when its created (the Map Editor generates this order.
private var _furnitureStandingOrderList: Array
private var _gridIsHidden: Boolean
private var _gridMC: MovieClip
private var _highestFloorTileElevation: Number
[ com.theoworlds.chat.Message
private var _history: Array
the bitmap used for hit test (detect the clicks on the character).
private var _hitTestBitmap: BitmapData
bitmap to detect the hit test.
private var _hitTestBitmap: BitmapData
the parametter used for BitmapData.hitTest(firstPoint:Point, firstAlphaThreshold:Number, secondObject:Object) stored for optimizing the hit test
private var _hitTestBitmapFirstPoint: Point
parametter for BitmapData.hitTest(firstPoint:Point, firstAlphaThreshold:Number, secondObject:Object) stored for optimization purposes
private var _hitTestBitmapFirstPoint: Point
private var _iAmServer: Boolean
the reference to “I” (main) character
private var _iCharacter: Character
saves the settings on the main character (“I”) when the chat is launched or when switching maps
private var _iCharacterSettings: CharacterSettings
MapObject id:Number
private var _ID: Number
id of TextBubble
private var _ID: Number
the current tile -- the one the character is stepping on now
private var _intermediateTile: Point
for setInterval -- moving
private var _intMoving: Number
for setInterval -- thinkingLoop
private var _intThinking: Number
private var _ip: String
private var _ip: String
private static var _isConfigSuccessed: Boolean
flag (Boolean)
private var _isDoingAnAction: Boolean
main character (“I”)
private var _isICharacter: Boolean
private var _isModerator: Boolean
flag (Boolean)
private var _isMoving: Boolean
the code of the last clicked keyboard key -- needed for the walking (not used now)
private var _lastKeyPressed: Number
tracks the objects IDs used for Worlds initialization, for generating the names of the movieclips
private var _lastObjectID: Array
the lag value (between the client and the server)
private var _latency: Number
private var _layerBackgroundIsLocked: Boolean
private var _layerBackgroundIsVisible: Boolean
private var _layerCharacterIsLocked: Boolean
private var _layerCharacterIsVisible: Boolean
private var _layerFloorIsLocked: Boolean
private var _layerFloorIsVisible: Boolean
private var _layerForegroundIsLocked: Boolean
private var _layerForegroundIsVisible: Boolean
private var _layerFurnitureIsLocked: Boolean
private var _layerFurnitureIsVisible: Boolean
to access the parametters just use -- _layers[XMLNode.attributes.name]
private var _layers: Object
[node:XMLNode] stores the XML nodes(XMLNode) -- this way we can store all the possible parametters, and we can also extend the functionality easily
private var _layersXMLNode: XMLNode
a 2D array that stores different libaries and their items first parametter is the unique library ID and the second is the ID of the item in this library this array of libaries stores arrays of LibraryItem objects -- the links to them -- LibraryItem to get to the information about a LibraryItem object (info about a map object) we use lib_arr[libID--1][libSymbolId--1]
private var _libraries: Array
we need those parametters for the Map Editor so we can display all the info in the preview panel
private var _librariesInfo: Array
loads, parces and manages the libraries data
private var _library: Library
the speed(Number) of the character from the Library stored locally for better performance TODO -- add the possibility to accelerate the characters at will.
private var _libSpeed: Number
stores the character speed from the Library TODO -- add the method set libSpeed, because many actions are supported now and we will need to run them with different speed as well.
private var _libSpeed: Number
private var _lineCounter: Number
private var _login: String
the name of th map.
private var _mapName: String
this object is used for loading and parcing the map XML.
private var _mapXML: XML
used for the tile editing mode
private var _markedTile: Tile
private var _markerMC: MovieClip
mask movieclip(:MovieClip) (it’s existence and parametters are set in the World constructor) the movie that may contains the mask for the map, to hide parts of it (that are bigger than the visible area)
private var _maskMC: MovieClip
the maximum bubble life (in ms) (the lifetime of a text bubble is directly proportional to its length in characters, but can not be longer than this maximum value)
private var _maxBubbleLifeTime: Number
maximum scroll value in X
private var _maxScrollX: Number
maximum scroll value in Y
private var _maxScrollY: Number
the maximum number of steps used for dead reconing correction.
private var _maxSmoothSteps: Number
number of steps the character will try to go around before giving up
private var _maxSteps: 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)
private var _maxTextLength: Number
indicates the maximum number of characters
private static var _maxTextWidth: Number
private var _message: String
the minimum bubble life (the lifetime of a text bubble is directly proportional to its length in characters, but can not be shorter than this minimum value)
private var _minBubbleLifeTime: Number
for dead--reconing -- the minimum lag value (between the client and the server), that can be ignored
private var _minLatency: Number
private var _modeEdition: Object
movieclip (:MovieClip)for the cursor (World._cursorMC) changing its depth we can use it for different purposes (for example now it points only on the floor, but is covered by characters and furniture)
private var _mouseMC: MovieClip
private var _moveClipEventBeacon: MovieClip
remembers the direction(Number) the character should move to WHEN IT CAN (it can’t change direction in the middle of the stepping animation).
private var _moveToDirection: Number
private var _movingEraser: Boolean
private var _myCS: CharacterSettings
private var _myLatency: Number
id(String) for network characters (in multi--user envirorment).
private var _netID: String
stores the furniture shape configuration (what tiles it covers) as a String
private var _objectShape: String
the array of the tiles covered by the furniture tiles Array<Point>
private var _occupiedTiles: Array
private var _oneLineHeight: Number
private var _onEnterFrameBeaconForCursor: MovieClip
private var _password: String
private var _password: String
character animation phase (Number)
private var _phase: Number
MovieClip that contains all the characters animation phases
private var _phasesMC: MovieClip
private var _pingRoundTotalPingTime: Number
private var _pingRoundTripCount: Number
private var _pingRoundTripInterval: Number
private var _pingRoundTripPeriod: Number
offset of the pointer from the center
private static var _pointerCenterHeight: Number
offset of the pointer from the center
private static var _pointerCenterOffset: Number
offset of the pointer from the center
private static var _pointerCenterWidth: Number
private var _port: Number
private var _port: Number
used for placing MapObject in the “preview” mode
private var _previewMapObject: MapObject
private var _previewMapObjectIsStandable: Boolean
showCursor calls the needed mode when the position of the cursor changes
private var _previewMode: Number
remember previous walked tile
private var _prevTile: Point
the shift by X(Number) for each walking/moving animation frame
private var _pShiftX: Number
the shift by Y(Number) for each walking/moving animation frame
private var _pShiftY: Number
stores the registration tile -- check th documentation for more details
private var _registrationTile: String
link to the Character.
private var _rollOveredCharacter: Character
private var _roomList: Array
private var _roomXML: String
the number(:Number) of pixels left till the edge of the map when the auto--scrolling starts.
private var _scrollBuffer: Number
the height of the scroll area.
private var _scrollHeight: Number
the width of the scroll area.
private var _scrollWidth: Number
scrollable world/map/room area(:Number) (the sub--area of the big map that fits on the the screen) defined in rows/cols.
private var _scrollX: Number
scrollable world/map/room area(:Number) (the sub--area of the big map that fits on the the screen) defined in rows/cols.
private var _scrollY: Number
flag(Boolean)is the character selectable or not
private var _selectable: Boolean
flag(:Boolean) -- is the furniture clickable or not
private var _selectable: Boolean
world/map/room size X = columns(:Number)
private var _sizeX: Number
world/map/room size Y = rows(:Number)
private var _sizeY: Number
private var _smilesField: MovieClip
private var _smilesNumber
private var _smilesOnLine: Array
private var _smilesVisibled: Array
dead reconing corrects the movement of the character to compensate for the lag during the _maxSmoothSteps step.
private var _smoothStep: Number
private var _socket: IServer
“SF”,”ES”
private var _socketName: String
animation speed(Number).
private var _speed: Number
MovieClip in which MapObject is located
private var _spriteMC: MovieClip
sets the World when activating the movieclip (if it’s present)
private var _spriteMCName: String
Z--order of the MovieClip, if it’s present
private var _spriteMCZOrder: Number
stacks on top of other tiles, taking elevation in consideration overwriting the parent class value (MapObject._stackable)
private var _stackable: Boolean
overwrites super._stackable = true (MapObject._stackable)
private var _stackable: Boolean
stacks on top of other tiles, taking elevation in consideration
private var _stackable: Boolean
MovieClip that contains the MapObject._spriteMC
private var _targetMC: MovieClip
container movie clip.
private var _targetMC: MovieClip
the movieclip for drawing the bubles in
private var _targetMC: MovieClip
private var _targetRoomName: String
class--controller of the text bubbles
private var _tbController: TextBubbleController
saves the settings of the teleport location (“door” to another map) destRoom:Number; destTile:Point; destDir:Number;
private var _teleport: FurnitureSettings
private var _testMap: Boolean
private var _testTextField: TextField
private var _text: TextField
for names generation
private var _textBubbleCounter: Number
private var _textField: TextField
space between the text box and the graphics frame
private static var _textPadding: Number
distance(Number) between diagonal tiles (Tile)
private var _tileDiagonal: Number
private var _tileDiagonal: Number
tile size (height(:Number) ).
private var _tileHeight: Number
tile size (width(:Number) ).
private var _tileWidth: Number
private var _ui: ITheoUI
private var _ui: TheoChatUI
private var _ui: MapEditorUI
private var _username: String
private var _username: String
private var _users_arr: Array
private var _users_arr: Array
flag(Boolean) -- the step animation is made of left and right step parts
private var _usesLeftRightSteps: Boolean
visible layers (clothes and accessories)
private var _visibleLayers: Object
flag(Boolean) that tells if characters(Character) can walk on top of this object overwriting the parent class value (MapObject._walkable)
private var _walkable: Boolean
overwrites super._walkable = true (MapObject._walkable)
private var _walkable: Boolean
flag(:Boolean) that tells if characters(Character) can walk on top of this object
private var _walkable: Boolean
link to the World World
private var _world: World
private var _world: World
private var _world: WorldEditor
private var _worldDelegates: Array
private var _worldEditor: WorldEditor
link the class (WorldLogic) that processes the user UI events (mouse, keyboard) can be extended to add more functionality (generation ond processing on World actions)
private var _worldLogic: WorldLogic
private var _worldLogic: WorldLogic
the main movieclip(:MovieClip), inside which the World is created
private var _worldMC: MovieClip
top left corner of the map (the ground level)
private var _worldOrigin: Point
private var _worldTargetMC: MovieClip
private var _xml: XML
private var _zoneManager: ZoneManager