Home
github
Tutorials
Adding an Item
Overview
Modules
initialize
Namespaces
ClubCrawler
Actions
Interact
damageCollision
validateDamage
Movement
moveRandomly
moveRandomlyRepeat
moveTowardsPlayer
moveTowardsPlayerRepeat
retreatFromPlayer
validatePhysicsMove
Sense
sensePlayer
sensePlayerRepeat
validateSense
Data
DOMUserInterface
Events
Objects
Inventory
Parsers
Scenes
Types
Utility
Load
preloadBlueWorldAssets
Parameters
extract
Parse
getConstructorConfigFromLayerMap
getFlatTiledObjectProperties
isConstructorConfig
Events
debugLog
debugMessageToggle
enemyDied
healthChange
inventoryChange
playerDied
scoreChange
Classes
DebugMessage
delete
DebugMessageBox
deleteMessage
loadDebugObject
updateDebugMessages
DebugUI
addDropDownListener
loadDebugObject
loadManager
DOMUIManager
healthChange
initialize
loadPlayerInventory
pointsChange
refreshInventory
showPlayerWeapon
slotClick
updateDebugMessages
HealthBarUI
changeHealth
refreshHealthBar
setFullHealth
InventoryUI
clearInventory
loadInventory
loadManager
refreshInventory
setDragListeners
ItemSlotUI
loadManager
updateDisplay
LeftUI
loadDataManager
loadManager
RightUI
loadManager
ScoreUI
changeScore
SettingsUI
addDropDownListener
loadManager
loadSettingsObject
WeaponUI
loadManager
showWeapon
Cylinder
die
takeDamage
Inventory
addItem
getInstance
pop
setNextFreeItemSlot
swapSlots
InventoryItemSlot
getInstance
loadItem
popInstance
GameCoin
fadeCoin
overlapWithPlayer
ItemPickup
onPlayerTouch
Ogre
dealDamage
die
hit
sense
takeDamage
Player
preload
die
move
Reticle
moveToPlayer
update
Weapon
setTarget
Projectile
dealDamage
fireAt
hitWall
BlueWorldParser
addColliders
placeMappedObjects
startPlayer
DungeonCrawlerGame
checkWinCondition
create
preload
update
validateGame
win
GameOver
create
preload
GameWin
create
preload
TitleScreen
Interfaces
DamageDealer
dealDamage
Hurtable
die
takeDamage
Senser
sense
Global
dataManager
Inventory
ClubCrawler
.Objects
.
Inventory
Source:
objects/player/inventory.js
,
line 18
Classes
Inventory
InventoryItemSlot