phoenixcommand.net

0.8.0

Calc

This module handles calculator functionality

Calc
Static Members
setUser(user)
setUser(user)
eal()
displayChanceToHit(weapon, eal)
burstHandler(weapon, eal, accuracy, chance)
singleShotHandler(weapon, eal, accuracy, chance)
shotgunHandler(weapon, eal, accuracy, chance)
explosiveHandler(weapon, eal, accuracy, chance)
fireBurst(weapon, numberOfTargets, arc, chance, range)
fireSingleShot(weapon, chance, range)
fireShotgun(ammoType, range, weapon, chance)
fireExplosive(weapon, range, chance, accuracy)
getMinimumArc(weapon, range)
displayTargets(targetList, weapon, ammoType)
displayExplosionTargets(targetList, weapon, ammoType, location)
calculateDamage(targets, weapon, ammoType)
calculateExplosionDamage(targets, weapon, ammoType)
displayDamage(targets)
displayExplosionDamage(targets)

Character

This module handles character functionality

Character
Static Members
displayCharacterSheet(characterName)
displayCharacterCreation()
displayGear(character)
displayWeapons(character)
submitCharacter()

Database

This module handles various database functionality

Database
Static Members
user(userId)
currentGame(userId)
actionList(gameId, userId)
currentCharacter(characterPath)
ref(path)
set(path, value)
push(path, value)
remove(path, key)
auth()

Game

This module handles main game logic

Game
Static Members
displayGame(user)
nextImpulse()
addNextImpulseButton(user, game)
navList(user)
addPlayers(user, gameId, players, gameName)
addCharacter(character)
createNew(user, gameName, players)
setCurrent(uid, gameId)
select(uid, gameId)
newGameSubmit()

Index

This module is the application entry point

Index
Static Members
route(user)

Listeners

This module handles jQuery and Firebase event listeners

Listeners
Static Members
time()
randomize-character
submission-form
character-submit-button
new-game-submit-button
operation-name-button
signout
eal-button
dropdown-eal
weapon-button
game-dropdown
calc-character-name
firing-stance-button
timer-character-name
timer-combat-action-button
timer-time-button
timer-time-button
timer-impulse-input
timer-duration-button

Medical

This module handles calculator functionality

Medical

Timer

This module handles timer functionality

Timer
Static Members
setUser(user)
run(gameId)
add(action)
actionTemplate()
clock(user)

User

This module handles user functionality

User
Static Members
addNew(user)
getUserCharacters(game)
getCharacterSheet(game, characterName)
getCharacterId(game, characterName)

Utils

This module handles various utility functionality

Utils
Static Members
selectedCheckboxes(boxes)
threeD6()
log(msg)
displayLog(user)
displaySetActions(user)
parseHitResult(result)
randomize()
setShotType(gun)
operationName()
displayAccount(user)
clearUserDisplay()
getGamePath()
modal(title, msg)
deleteModal(title, msg, path, key)
deleteGameModal(title, msg, path, key)