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> | |
// Siv3D v0.6.3 | |
// https://qiita.com/ichi-raven/items/61b3cf607deafdba567e | |
// 画面サイズは(800, 600)とする | |
constexpr Rect SceneRect{ 800, 600 }; | |
// 敵の位置を作成する関数 | |
[[nodiscard]] |
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> // OpenSiv3D v0.6.3 | |
namespace KeyConfig { | |
constexpr auto Misc = KeyShift; | |
constexpr auto NoShow = KeyQ; | |
} | |
class MakerRect { | |
private: | |
inline static const Array<String> GradOptions |
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
use std::ops::{Range, RangeInclusive}; | |
use serde::{Deserialize, Serialize}; | |
// シンプルな(de)serialize | |
#[derive(Serialize, Deserialize, Debug)] | |
struct SampleSimple { | |
xx_start: i32, | |
xx_end: i32, |
OlderNewer