diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-01-07 20:08:22 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-01-07 20:08:22 +0100 |
commit | f569eb788f0ac0f5d10e2b83e2f7f3c9cd0b2d68 (patch) | |
tree | 5534404a2110993d47f652afaa766682e22d1e28 /src/control | |
parent | 342af3b087f922c65f25a40b650bb104aa9b9362 (diff) | |
download | rpgedit-f569eb788f0ac0f5d10e2b83e2f7f3c9cd0b2d68.tar rpgedit-f569eb788f0ac0f5d10e2b83e2f7f3c9cd0b2d68.zip |
Limit rendering to on-screen tiles
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/MapContext.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/MapContext.ts b/src/control/MapContext.ts index 1c0f1a8..ce82c5a 100644 --- a/src/control/MapContext.ts +++ b/src/control/MapContext.ts @@ -31,7 +31,7 @@ export default class MapContext { this.view = new MapView( map, this.entities, - () => this.playerEntity, + this.playerEntity, (time: number) => this.updateState(time) ); |