Skip to content
Snippets Groups Projects
Commit b9a8e8d9 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

refactor: #fe parameterize clues group padding

parent f8274c74
No related branches found
No related tags found
No related merge requests found
......@@ -245,10 +245,11 @@ export default class FightScene extends Phaser.Scene {
}
initCluesGroup() {
const pad = 4;
const bounds = new Phaser.Geom.Rectangle(
4,
4,
this.cameras.main.width - 8,
pad,
pad,
this.cameras.main.width - 2 * pad,
this.cameras.main.height / 2,
);
this.cluesGroup = this.physics.add.group({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment