メインメニューを開く

差分

エンティティ・コンポーネント・システム

218 バイト追加, 2022年11月24日 (木) 05:20
=== コンポーネント ===
エンティティが持つ要素のひとつ。いわゆる「データ」である。エンティティが持つ要素のひとつ。いわゆる「[[データ]]」である。[[構造体]]で実装することが多い。<source lang="csharp">interface IComponent {}struct DrawableComponent : IComponent {}struct HitpointComponent : IComponent { public int HitPoint;}</source>
=== システム ===