mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Applied suggestions from review
This commit is contained in:
@@ -36,7 +36,7 @@ class IImage;
|
||||
/// And any other effect applied to stacks
|
||||
class BattleStacksController
|
||||
{
|
||||
BattleInterface * owner;
|
||||
BattleInterface & owner;
|
||||
|
||||
std::shared_ptr<IImage> amountNormal;
|
||||
std::shared_ptr<IImage> amountNegative;
|
||||
@@ -78,7 +78,7 @@ class BattleStacksController
|
||||
std::shared_ptr<IImage> getStackAmountBox(const CStack * stack);
|
||||
|
||||
public:
|
||||
BattleStacksController(BattleInterface * owner);
|
||||
BattleStacksController(BattleInterface & owner);
|
||||
|
||||
bool shouldRotate(const CStack * stack, const BattleHex & oldPos, const BattleHex & nextHex) const;
|
||||
bool facingRight(const CStack * stack) const;
|
||||
|
||||
Reference in New Issue
Block a user