Skip to content

Commit ae93acc

Browse files
committed
Added the new debug colors to the World defaults
1 parent 0897b78 commit ae93acc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/physics/arcade/World.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,14 @@ var World = new Class({
293293
*/
294294
this.defaults = {
295295
debugShowBody: GetValue(config, 'debugShowBody', true),
296+
debugShowBlocked: GetValue(config, 'debugShowBlocked', true),
296297
debugShowStaticBody: GetValue(config, 'debugShowStaticBody', true),
297298
debugShowVelocity: GetValue(config, 'debugShowVelocity', true),
298299
bodyDebugColor: GetValue(config, 'debugBodyColor', 0xff00ff),
299300
staticBodyDebugColor: GetValue(config, 'debugStaticBodyColor', 0x0000ff),
300-
velocityDebugColor: GetValue(config, 'debugVelocityColor', 0x00ff00)
301+
velocityDebugColor: GetValue(config, 'debugVelocityColor', 0x00ff00),
302+
sleepDebugColor: GetValue(config, 'debugSleepColor', 0xffffff),
303+
blockedDebugColor: GetValue(config, 'debugBlockedColor', 0xff0000)
301304
};
302305

303306
/**

0 commit comments

Comments
 (0)