// // Created by hamac on 20.12.2024. // #ifndef MOVELIST_H #define MOVELIST_H #include struct Node { std::pair data; Node *next; }; class MoveList { private: Node *head; public: MoveList(); ~MoveList(); MoveList &display(); MoveList &append(const std::pair &data); MoveList &insert(const std::pair &data); Node* search(const std::pair &data) const; MoveList &remove(const std::pair &data); void removeTail(const std::pair &data); }; #endif //MOVELIST_H