SDXFrameWork 0.10 SDXFrameWork

- Main Page
- Related Pages
- Classes

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Model.h
1 //Copyright © 2014 SDXFramework
2 //[License]GNU Affero General Public License, version 3
3 //[Contact]http://sourceforge.jp/projects/dxframework/
4 #pragma once
5 #include<Framework/IModel.h>
6 namespace SDX
7 {
10 template <class TShape, class TSprite>
11 class Model : public IModel
12 {
13 public:
14 TShape shape;
15 TSprite sprite;
16
18 Model(TShape &&図形と位置, TSprite &&描画方法) :
19 IModel(shape, sprite),
20 shape(図形と位置),
21 sprite(描画方法)
22 {}
23 };
24 }
SDX::Model::Model
Model(TShape &&図形と位置, TSprite &&描画方法)
コンストラクタ.
Definition: Model.h:18
SDX::Model
Modelの基本クラス.
Definition: Model.h:11
SDX::Model::shape
TShape shape
対応Shape
Definition: Model.h:14
SDX::Model::sprite
TSprite sprite
対応Sprite
Definition: Model.h:15
SDX::IModel
ShapeとSpriteをまとめて、2Dモデルを表すクラス.
Definition: IModel.h:12