]> git.jsancho.org Git - lugaru.git/commitdiff
player replaced by Person::players which is a vector of shared_ptr.
authorCôme BERNIGAUD <come.bernigaud@gmail.com>
Sat, 13 Jul 2013 20:14:36 +0000 (22:14 +0200)
committerCôme BERNIGAUD <come.bernigaud@gmail.com>
Sat, 13 Jul 2013 20:14:36 +0000 (22:14 +0200)
victim being a shared_ptr might be a memory leak, we should consider using weak_ptr for victim.
Having players being pointers will allow polymorphism so we can have a Rabbit and a Wolf class.


No differences found