Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wiseblank committed Jul 18, 2024
1 parent ff8a278 commit 8d7438c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/summator/summator.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* summator.cpp */

#include "summator.h"

void Summator::add(int p_value) {

}
24 changes: 24 additions & 0 deletions modules/summator/summator.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* summator .h */

#ifndef SUMMATOR_H
#define SUMMATOR_H

#include "core/object/ref_counted.h"

class Summator : public RefCounted {
GDCLASS(Summator, RefCounted);

int count;

protected:
static void _bind_methods();

public:
void add(int p_value);
void reset();
int get_total() const;

Summator();
};

#endif

0 comments on commit 8d7438c

Please sign in to comment.