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