Coverage Summary for Class: WallKt (Entities)

Class Method, % Branch, % Line, % Instruction, %
WallKt 0% (0/1) 0% (0/2) 0% (0/34)
WallKt$wall$1 0% (0/1) 0% (0/1)
Total 0% (0/2) 0% (0/3) 0% (0/34)


 package Entities
 
 import com.soywiz.korge.view.*
 import com.soywiz.korim.bitmap.*
 
 inline fun Container.wall(mainImage: BitmapSlice<Bitmap>, callback: @ViewDslMarker Wall.() -> Unit = {}) =
     Wall(mainImage).addTo(this, callback);
 
 class Wall (
     sprite: BitmapSlice<Bitmap>
 ) : Container() {
 
     private val image: Image = image(sprite);
 
     init {
         image.anchor(.5, .5);
         image.scale(1);
         image.position(0, 0);
     }
 
 }