Commit Graph

125 Commits

Author SHA1 Message Date
Tom Hicks
6ae5c43fa6 Fixes name of "Add Damage Type" string. 2021-06-25 14:33:09 -07:00
Tom Hicks
cb16cf5d23 Code style cleanup.
Replaces Fragment with MCFragment.
2021-06-25 14:31:49 -07:00
Tom Hicks
71a15f60b6 Adds equals override to Trait objects.
Fixes trait comparisons.
2021-06-25 14:28:21 -07:00
Tom Hicks
f8346a44b3 Adds ability to edit languages. 2021-06-25 11:06:51 -07:00
Tom Hicks
28dca61e68 Makes use of class compareTo methods when sorting skills and languages.
Fixes dirty state of skills when modifying them.
2021-06-25 10:56:42 -07:00
Tom Hicks
a29ea44bec Replaces manual view != null assertions with requireView. 2021-06-25 10:54:10 -07:00
Tom Hicks
6b08265a5d Adds equals override for Language objects.
Makes languages sort group by can speaks.
2021-06-25 10:52:09 -07:00
b562d34a99 Add damage resistances and damage vulnerabilities to the monster editor. 2021-06-20 19:57:22 -07:00
9e9e8f8984 Adds damage resistances to monster editor. 2021-06-20 19:35:16 -07:00
dbd043fd23 ViewModel refactoring. 2021-06-20 18:56:49 -07:00
9799230036 Adds editing of condition immunities. 2021-06-20 17:50:37 -07:00
dc5fba76f8 Adds getters and setters to EditMonsterViewModel for Languages, Abilities, Actions, Reactions, Lair Actions, Legendary Actions, and Regional Actions. 2021-06-20 15:56:00 -07:00
5393c8b4a3 Adds getters and setters for string array properties of EditMonsterViewModel. 2021-06-20 15:33:55 -07:00
6a9b69c6d2 Adds edit sense fragment. 2021-06-20 14:07:44 -07:00
3dd03f54dc Edit skill cleanup. 2021-06-20 14:07:44 -07:00
6649b58cf8 Adds Edit Senses fragment. 2021-06-20 14:07:44 -07:00
c9f11c4f77 Removes unused code from edit skills. 2021-06-20 12:40:06 -07:00
23f4b65fd1 Replaces usages of Fragment with MCFragment. 2021-06-20 12:15:19 -07:00
15170eca11 Adds senses to EditMonsterViewModel. 2021-06-20 11:26:39 -07:00
8c8c6f803d Fixes default values for array/set properties of monsters in db.
Removes individual senses properties and replaces with a Set<String>.
2021-06-20 02:14:48 -07:00
9e06f93ef9 Updates TODO in EditMonsterViewModel. 2021-06-20 00:56:53 -07:00
4774281048 Adds edit skill fragment to edit individual skills. 2021-06-20 00:51:56 -07:00
db24c333b9 Adds stubbed out method to navigate to the edit skill fragment.
Adds a click handler to the edit skills recycler view adapter.
Makes tapping a skill in the edit skills view navigate to the editor for that skill.
Makes adding a new skill immediately edit the skill.
2021-06-20 00:49:41 -07:00
2aa94b9789 Makes addNewSkill return the new skill.
Adds replaceSkill to replace an existing skill in the skills array.
2021-06-20 00:44:20 -07:00
67aaa88ce1 Adds an equals method to skills. 2021-06-20 00:41:56 -07:00
8545b6c819 Makes AdvantagePicker work if you set the id of the advantage picker to advantage. 2021-06-20 00:41:09 -07:00
d0e4b3c9f1 Adds ability score picker. 2021-06-20 00:40:14 -07:00
e2f7a31a47 Lint cleanup. 2021-06-20 00:37:16 -07:00
4c00ef3b48 Removes debug logging. 2021-06-20 00:35:35 -07:00
295aaa76ef Disables annoying lint rule. 2021-06-20 00:33:41 -07:00
6be722d7b9 Adds ability to remove a skill. 2021-06-12 22:16:16 -07:00
df03b2e830 Keeps skills on the edit skills screen sorted. 2021-06-12 22:14:31 -07:00
61b111a58d Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen. 2021-06-12 22:12:39 -07:00
616e74fc00 Adds item dividers to the Library and Edit Skills screens.
Makes the two layouts consistent with each other.
2021-06-12 21:48:23 -07:00
d388d3ee5f Makes Add Skill button a FloatingActionButton. 2021-06-12 19:51:48 -07:00
eebad6ee9a Adds "New Skill" button. 2021-06-10 23:45:04 -07:00
21296a06ae Adds edit skills view. 2021-06-10 22:50:27 -07:00
1eb5acb30c Adds edit challenge rating screen. 2021-05-31 20:23:39 -07:00
33a22738be Adds remaining monster properties to the edit monster view model. 2021-05-31 17:16:58 -07:00
49306d27c7 Adds better change tracking to know if a monster needs to be saved. 2021-05-31 14:35:23 -07:00
150cd1a154 Adds saving throws editor. 2021-05-31 12:58:34 -07:00
61a1ec399e Adds AdvantagePicker and ProficiencyPicker components. 2021-05-31 12:56:58 -07:00
ce178221cc Adds a Stepper control and uses it for the steppers in the editor. 2021-05-30 03:40:30 -07:00
797fee624d Adds screen to edit ability scores. 2021-05-30 01:55:45 -07:00
d567844ecf Adds missed change tracking to EditMonsterViewModel. 2021-05-30 00:11:14 -07:00
eb3223bab9 Adds Edit Speed screen to the monster editor. 2021-05-30 00:10:44 -07:00
6cb2c05238 Adds Edit Armor screen to edit a monster's armor stats. 2021-05-29 19:46:28 -07:00
12ceacacaa Adds hit dice and has custom HP toggle to the edit basic info screen. 2021-05-27 21:44:17 -07:00
c30a9c72c1 Adds confirmation when going up from the edit monster screen to save, cancel, or discard changes. 2021-05-27 19:16:05 -07:00
637a2a57d2 Adds setTitle helper method to MCFragment. 2021-05-27 19:15:23 -07:00