public GenericCollectableObject(Game game, JDCollectableObject objContent)
     : base(game)
 {
     MeshFileName = objContent.Appearance.MeshSource;
     TextureFileName = objContent.Appearance.TextureSource;
     Position = objContent.Position;
 }
Beispiel #2
0
        public static BaseEntityModel Spawn(JDCollectableObject objContent, Game game)
        {
            if (!DefinedModels.Keys.Contains(objContent.TypeName))
            {
            }

            return new GenericCollectableObject(game, objContent);
        }