Commit graph

60 commits

Author SHA1 Message Date
Daniel Cronqvist
2e8eaa5a72 Update FromEnum tests with storage type parameter 2024-11-16 18:35:59 +01:00
Daniel Cronqvist
35c6ba5002 Add storageType parameter to FromEnum, default value is consistent with Tiled 2024-11-16 18:35:21 +01:00
Daniel Cronqvist
d943a8d8b7 Update version in .csproj 2024-10-04 21:25:36 +02:00
Daniel Cronqvist
e411d51573 Make sure to run console example application as part of test suite 2024-10-04 21:16:00 +02:00
Anders Kehlet
782e771a41 Fix type of visible attribute in tileset object group. 2024-10-03 22:26:47 +02:00
dcronqvist
e8dc677341
Update README that is published with NuGet to reflect MonoGame support 2024-09-28 19:55:06 +02:00
krnlException
f72cfd397b Removed backup file 2024-09-16 16:33:07 +02:00
krnlexception
0515ba3256
Godot example 2024-09-13 19:32:24 +02:00
krnlException
3d649fab95 Program class to public and top-level warning disabled 2024-09-12 20:23:43 +02:00
krnlException
44cbf5b90a Style changes, and usage of embedded resources 2024-09-11 17:11:24 +02:00
krnlexception
7407edccb3
Example project 2024-09-10 00:56:24 +02:00
Daniel Cronqvist
89d3f022a4 Bump version and add to version compatibility matrix 2024-09-07 21:51:39 +02:00
Daniel Cronqvist
373cdc991e Fix maintained status in NuGet README 2024-09-07 20:55:05 +02:00
Daniel Cronqvist
9b665efe18 Add more tests to Loader for custom types 2024-09-07 15:54:51 +02:00
Daniel Cronqvist
e0252d263e Added test that creates class definition from C# class and uses to load map 2024-09-07 15:47:59 +02:00
Daniel Cronqvist
d23eec4433 Move test data and current tests into UnitTests 2024-09-07 13:23:32 +02:00
Daniel Cronqvist
0a77a9fec7 Add FromEnum to CustomEnumDefinition with tests 2024-09-07 13:16:29 +02:00
Daniel Cronqvist
58b0ad3493 Make use of generic type parameter in generic methods 2024-09-07 13:03:27 +02:00
Daniel Cronqvist
64f66421c2 Add tests for FromClass for CustomClassDefinition 2024-09-07 12:59:59 +02:00
Daniel Cronqvist
762e610904 Make sure to only embed map, tileset and template files in tests binary 2024-09-07 12:49:10 +02:00
Daniel Cronqvist
84b55fe005 Added some new FromClass methods to construct custom class definitions, tests not done 2024-09-05 22:25:13 +02:00
Daniel Cronqvist
e285f97825 Add some more tests to HasPropertiesBase 2024-09-05 21:15:39 +02:00
Daniel Cronqvist
53907b9c36 Add overload to MapPropertiesTo with supplied factory method 2024-09-05 21:02:34 +02:00
Daniel Cronqvist
612b5cdb33 Rename tests 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
4e273cd521 Remove unecessary duplicate of API 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
ce3d4e339c Rename parts of the property mapping API and simplify 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
fda0922dcc Initial working concept of mapping properties to C# classes using reflection 2024-09-05 20:53:15 +02:00
Daniel Cronqvist
99fb910336 Affected parts of model should now inherit properties from their specified class 2024-09-05 20:43:12 +02:00
Daniel Cronqvist
ffc529ecb6 Now able to override properties from class in Map 2024-09-04 22:24:40 +02:00
Daniel Cronqvist
0ad1347bc1 Map now resolves props from class 2024-09-04 22:11:45 +02:00
Daniel Cronqvist
77a47856e2 Updated NuGet README to not have ugly formatting 2024-09-04 21:39:32 +02:00
Daniel Cronqvist
9abda9e244 Fix strange keywords 2024-09-04 21:35:19 +02:00
Daniel Cronqvist
8fd43d95aa Updated docs a bit 2024-09-04 21:27:18 +02:00
Daniel Cronqvist
247f9294af Simplified loader a bit and added more docs 2024-09-03 22:52:26 +02:00
Daniel Cronqvist
738a9fc5a8 Add docs to quickstart 2024-09-02 23:58:25 +02:00
Daniel Cronqvist
01bb3d4f23 Add better default loader creation 2024-09-02 21:14:56 +02:00
Daniel Cronqvist
9133f8887c Add loader to make it easier to start using library 2024-09-02 21:11:31 +02:00
Daniel Cronqvist
3b6c5f8111 Remove nullables 2024-09-02 17:33:11 +02:00
Daniel Cronqvist
df075eed8d Use proper list assertion and add optional to some Data properties 2024-09-01 22:09:03 +02:00
Daniel Cronqvist
4fd887e7c8 Further optional improvements, Tmj now supports it too 2024-09-01 22:03:05 +02:00
Daniel Cronqvist
88a5eadb74 Model now uses Optional correctly, I think, massive changes 2024-09-01 20:44:36 +02:00
Daniel Cronqvist
4695a4f739 Fix incorrect type for visibility in layers 2024-08-31 17:07:50 +02:00
Daniel Cronqvist
ac073d689d Set version to 0.1.0 for initial release of functionality 2024-08-30 20:25:24 +02:00
Daniel Cronqvist
d85494e7a9 Remove .Model namespace as it is unnecessary 2024-08-30 20:11:33 +02:00
Daniel Cronqvist
aa8b390442 Add agnostic readers 2024-08-28 19:38:38 +02:00
Daniel Cronqvist
39b7625c23 Add NuGet metadata to library and add two new workflows for master pull requests and releases on github 2024-08-27 22:31:48 +02:00
Daniel Cronqvist
ab8173bb06 Tmj reader is now base class and new properties docs 2024-08-26 21:36:44 +02:00
Daniel Cronqvist
11f1ef783e Tmx reader is now a base abstract class 2024-08-25 17:43:13 +02:00
Daniel Cronqvist
4580772ced Fix rest of model to use new structure and prepare docs 2024-08-24 23:08:24 +02:00
Daniel Cronqvist
b46eed774a More property changes 2024-08-24 22:06:14 +02:00