aboutsummaryrefslogtreecommitdiff
path: root/lib/sumo.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sumo.js')
-rw-r--r--lib/sumo.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/sumo.js b/lib/sumo.js
index eef80d7..4785087 100644
--- a/lib/sumo.js
+++ b/lib/sumo.js
@@ -260,6 +260,24 @@ internals.Sumo = class Sumo {
entityB: harness
});
+ SumoFactory.createInvisibleBlock(this._engine, {
+ width: this.horizontalResolution * 2,
+ height: this.verticalResolution * 0.1,
+ position: {
+ x: this.horizontalResolution / 2,
+ y: -this.verticalResolution * 0.1
+ }
+ });
+
+ SumoFactory.createInvisibleBlock(this._engine, {
+ width: this.horizontalResolution * 2,
+ height: this.verticalResolution * 0.1,
+ position: {
+ x: this.horizontalResolution / 2,
+ y: this.verticalResolution + this.verticalResolution * 0.1
+ }
+ });
+
// To keep the coupling behind, we'll manually add the sumos later
this._engine.addEntity(sumoA);