In Hand, we stores uniqueptr for buildings and landmarks_. However, since our logic to handle them are different, we actually don't need to store them as pointers to Card. We can store them as pointers to Landmark and Building. In this way, we can prevent from dynamic cast.
In for buildings and landmarks_. However, since our logic to handle them are different, we actually don't need to store them as pointers to Card. We can store them as pointers to Landmark and Building. In this way, we can prevent from dynamic cast.
Hand
, we stores uniqueptr