gamnit: make `SpriteSet` public so clients can use its services
[nit.git] / lib / gamnit / depth / depth_core.nit
index db13d81..c1c1619 100644 (file)
@@ -15,7 +15,7 @@
 # Base entities of the depth 3D game framework
 module depth_core
 
-intrude import gamnit::flat
+import gamnit::flat_core
 
 # Visible 3D entity in the game world
 #
@@ -105,6 +105,9 @@ abstract class Model
        # Load this model in memory
        fun load do end
 
+       # Errors raised at loading
+       var errors = new Array[Error]
+
        # All `LeafModel` composing this model
        #
        # Usually, there is one `LeafModel` per material.