Ejemplo n.º 1
0
 public GenericCharacterObject(Game game, JDCharacterObject objContent)
     : base(game)
 {
     MeshFileName = objContent.Appearance.MeshSource;
     TextureFileName = objContent.Appearance.TextureSource;
     Position = objContent.Position;
 }
Ejemplo n.º 2
0
        public static BaseEntityModel Spawn(JDCharacterObject objContent, Game game)
        {
            if (!DefinedModels.Keys.Contains(objContent.TypeName))
            {
            }

            return new GenericCharacterObject(game, objContent);
        }