         # @param CanvasRenderingContext2D
         handleDraw: (ctx) ->
             
-            currentFrame = 0
-            currentFrame = -Math.floor(@velY / @minVSpeed * 3) if @velY < 0
-            currentFrame = Math.floor(@velY / @maxVSpeed * 3) if @velY > 0
+            ctx.save()
+            ctx.translate(floor(@x + @width * 0.5), floor(@y + @height * 0.5))
+            ctx.rotate(@frame/3*15 * Math.PI / 180)
+            ctx.translate(floor(- @width * 0.5), floor(- @height * 0.5))
             
             ctx.drawImage(@image,
-                          0, @height * (currentFrame + 3),
+                          0, @height * (@frame + 3),
                           @width, @height,
-                          @x, @y,
+                          0, 0,
                           @width, @height)
+            
+            ctx.restore()
         
         
         # Appliquer le déplacement vertical

            @speedLossUphill = 600
            @speedLossDownhill = 500
            
        
        # Mise à jour
        # @param Number dt

define (require) ->
    
    Entity = require 'cs!game/entities/Entity'
    floor = Math.floor
    
    class Plane extends Entity
        
