martindevans / Myre

An XNA game engine
http://martindevans.me/tags/#myre-ref
MIT License
12 stars 3 forks source link

Make TypedName.Name non nullable #19

Closed martindevans closed 8 years ago

martindevans commented 8 years ago

Some parts of the system require a typed name with a non null Name, others (specifically entities) are fine with a null name (in fact it is the default for Behaviour names to be null). This is ugly (null behavior names have been a wart for ages) - make TypedNames completely non nullable and fix breakage caused by this - mostly this will be changing default behaviour names to be the empty string instead of the default string.