Skip to content

Commit

Permalink
Make ConstraintContainer open
Browse files Browse the repository at this point in the history
  • Loading branch information
Reco1I committed Dec 28, 2024
1 parent a6f7722 commit f2cb224
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/com/reco1l/andengine/container/ConstraintContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ package com.reco1l.andengine.container
import com.reco1l.andengine.*
import org.anddev.andengine.entity.*
import org.anddev.andengine.entity.shape.*
import kotlin.math.max

/**
* Container that allows to constrain nested entities to other entities in the same container.
*
* This is useful for creating complex layouts.
*/
class ConstraintContainer : Container() {
open class ConstraintContainer : Container() {


private val constraints = mutableMapOf<ExtendedEntity, IShape>()
Expand Down

0 comments on commit f2cb224

Please sign in to comment.