This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <Siv3D.hpp> | |
#include "dynamixel_sdk/DynamixelManager.hpp" | |
template<typename T> | |
Array<T> GetArray(const TOMLArrayView& arrayView) | |
{ | |
Array<T> values; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> | |
struct Object{ | |
Vec2 pos, vel; | |
double value; | |
int num, hp, type; | |
bool isDestroyed; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> | |
# include <HamFramework.hpp> | |
enum GridState | |
{ | |
I, O, S, Z, J, L, T, Null, Wall | |
}; | |
struct BlockDefinition | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//May2014 | |
# include <Siv3D.hpp> | |
void Main() | |
{ | |
Window::Resize(854, 480); | |
Rect window(Window::Size()); | |