mirror of
https://github.com/ysoftdevs/pf2016.git
synced 2026-05-02 13:24:23 +02:00
clean up level 02
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
function addRedirector(context, x, y, vectorX, vectorY, imageIndex) {
|
||||
var redirector = new Kiwi.GameObjects.Sprite(context, context.textures.oneWay, x*64, y*64);
|
||||
redirector.type = 'vector';
|
||||
redirector.affectVelocityX = context.velocityX * vectorX;
|
||||
redirector.affectVelocityY = context.velocityY * vectorY;
|
||||
redirector.cellIndex = imageIndex;
|
||||
|
||||
Reference in New Issue
Block a user