Pets Design: Difference between revisions
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
class character{ | class character{ | ||
+id | |||
+animal_affinity | |||
} | } | ||
class familiar_types{ | class familiar_types{ | ||
+id | |||
+name | |||
+type | |||
+lifecycle | |||
+attacktool | |||
+attacktype | |||
+magicalaffinity | |||
+vision | |||
+speed | |||
+hearing | |||
} | } | ||
class char_create_affinity{ | class char_create_affinity{ | ||
+attribute | |||
+category | |||
} | } | ||
class character_relationships{ | |||
+character_id | |||
+related_id | |||
+relationship_type | |||
+spousename | |||
} | |||
note right of character_relationships | |||
Relationship_type can be: | |||
*familiar | |||
*buddy | |||
*spouse | |||
*exploration | |||
end note | |||
character "1" -- "0..1" character_relationships : character_id | |||
character_relationships "0..1" -- "1" character : related_id | |||
Revision as of 16:26, 14 April 2013
Functional Design
States

Physical Design
Database

Classes

Sequences
Death
