# | Line 43 | Line 43 | |
---|---|---|
43 | #define SELECTION_SELECTIONMANAGER_HPP | |
44 | ||
45 | #include "utils/BitSet.hpp" | |
46 | < | |
46 | > | #include "primitives/StuntDouble.hpp" |
47 | namespace oopse { | |
48 | ||
49 | /** | |
# | Line 52 | Line 52 | class SelectionManager { | |
52 | */ | |
53 | class SelectionManager { | |
54 | public: | |
55 | < | SelectionManager(int size) {bsSelection_.resize(size); clearSelection;} |
55 | > | SelectionManager(int size) {bsSelection_.resize(size);} |
56 | ||
57 | void addSelection(StuntDouble* sd) { | |
58 | bsSelection_.setBitOn(sd->getGlobalIndex()); | |
# | Line 100 | Line 100 | class SelectionManager { | |
100 | } | |
101 | ||
102 | int getSelectionCount() { | |
103 | < | bsSelection_.countBits(); |
103 | > | return bsSelection_.countBits(); |
104 | } | |
105 | ||
106 | BitSet getSelectionSet() { | |
# | Line 110 | Line 110 | class SelectionManager { | |
110 | private: | |
111 | ||
112 | BitSet bsSelection_; | |
113 | – | SimInfo* info_; |
113 | }; | |
114 | ||
115 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |