Skip to content

Commit

Permalink
moved PlayingCard to /ui
Browse files Browse the repository at this point in the history
  • Loading branch information
pundang committed Jul 9, 2024
1 parent c55d3f6 commit d2c0072
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ project(MenuLoopRandomizer VERSION 1.0.0)

file(GLOB SOURCES
src/*.cpp
src/ui/*.cpp
)

set(GEODE_BINDINGS_REPO_PATH ${CMAKE_SOURCE_DIR}/bindings)
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "PlayingCard.hpp"
#include "SongManager.hpp"
#include "ui/PlayingCard.hpp"
#include <Geode/Geode.hpp>
#include <Geode/modify/EditorPauseLayer.hpp>
#include <Geode/modify/GameManager.hpp>
Expand Down
File renamed without changes.
20 changes: 10 additions & 10 deletions src/PlayingCard.hpp → src/ui/PlayingCard.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#pragma once

class PlayingCard : public cocos2d::CCNode {
protected:
bool init(gd::string, gd::string);

public:
static PlayingCard *create(gd::string, gd::string);
cocos2d::CCPoint position;
const cocos2d::CCPoint cardSize = {380.0f, 55.0f};
#pragma once

class PlayingCard : public cocos2d::CCNode {
protected:
bool init(gd::string, gd::string);

public:
static PlayingCard *create(gd::string, gd::string);
cocos2d::CCPoint position;
const cocos2d::CCPoint cardSize = {380.0f, 55.0f};
};

0 comments on commit d2c0072

Please sign in to comment.