Class Index | File Index

Classes


Built-In Namespace _global_

Method Summary
Method Attributes Method Name and Description
 
bindOriHandler(target, evtName)
 
 
BulletHitEvent(options)
 
 
DeathEvent(options)
 
 
HitRobotEvent(options)
 
HitWallEvent(options)
 
 
MessageEvent(options)
 
MouseEvent(options)
 
notify(target, evtName, evtObj)
 
notifyBulletHitBulletEvent(bullet1, bullet2)
 
 
 
 
 
 
notifyHitWallEvent(r, wallAngle)
 
notifyMessageReceivedEvent(sender, robot, message)
 
notifyPaintEvent(robot, context)
 
notifyRobotDeathEvent(robotList, deadRobot)
 
 
notifyWinEvent(robotList)
 
PaintEvent(options)
 
RobotDeathEvent(options)
 
 
subscribe(target, evtName, func)
 
Method Detail
bindOriHandler(target, evtName)

Defined in: coderobot.event.js.
Parameters:
target
evtName

BulletHitBulletEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

BulletHitEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

BulletMissedEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

DeathEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

HitByBulletEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

HitRobotEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

HitWallEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

KeyEvent()

Defined in: coderobot.event.js.

MessageEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

MouseEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

notify(target, evtName, evtObj)

Defined in: coderobot.event.js.
Parameters:
target
evtName
evtObj

notifyBulletHitBulletEvent(bullet1, bullet2)

Defined in: coderobot.event.js.
Parameters:
bullet1
bullet2

notifyBulletHitEvent(r, b)

Defined in: coderobot.event.js.
Parameters:
r
b

notifyBulletMissedEvent(bullet)

Defined in: coderobot.event.js.
Parameters:
bullet

notifyDeathEvent(r)

Defined in: coderobot.event.js.
Parameters:
r

notifyHitByBulletEvent(r, b)

Defined in: coderobot.event.js.
Parameters:
r
b

notifyHitRobotEvent(r1, r2)

Defined in: coderobot.event.js.
Parameters:
r1
r2

notifyHitWallEvent(r, wallAngle)

Defined in: coderobot.event.js.
Parameters:
r
wallAngle

notifyMessageReceivedEvent(sender, robot, message)

Defined in: coderobot.event.js.
Parameters:
sender
robot
message

notifyPaintEvent(robot, context)

Defined in: coderobot.event.js.
Parameters:
robot
context

notifyRobotDeathEvent(robotList, deadRobot)

Defined in: coderobot.event.js.
Parameters:
robotList
deadRobot

notifyScannedRobotEvent(r, r1)

Defined in: coderobot.event.js.
Parameters:
r
r1

notifyWinEvent(robotList)

Defined in: coderobot.event.js.
Parameters:
robotList

PaintEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

RobotDeathEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

ScannedRobotEvent(options)

Defined in: coderobot.event.js.
Parameters:
options

subscribe(target, evtName, func)

Defined in: coderobot.event.js.
Parameters:
target
evtName
func

WinEvent()

Defined in: coderobot.event.js.


Copyright © 2012 Tencent AlloyTeam . All Rights Reserved.