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

            return new GenericCollectableObject(game, objContent);
        }