Co-authored-by: sigonasr2 <sigonasr2@gmail.com>master
parent
06a0ac20f5
commit
dba7479803
@ -0,0 +1,8 @@ |
||||
#include "Block.h" |
||||
|
||||
Block::Block(int x, int y, int R, int B, int G) |
||||
{ |
||||
X = x; |
||||
Y = y; |
||||
color = std::make_tuple(R, G, B); |
||||
} |
@ -0,0 +1,14 @@ |
||||
#pragma once |
||||
#include <tuple> |
||||
|
||||
class Block
|
||||
{ |
||||
public: |
||||
Block(){}; |
||||
Block(int x, int y, int R, int B, int G); |
||||
void display(float CameraX, float CameraY, float Zoom); |
||||
private: |
||||
int X; |
||||
int Y; |
||||
std::tuple<int, int, int> color; |
||||
}; |
Binary file not shown.
Loading…
Reference in new issue