SDXFrameWork  0.13
SDXFrameWork
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
IMotion.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/IPosition.h>
6 
7 namespace SDX
8 {
11  namespace MOTION
12  {
14  class IMotion
15  {
16  public:
17  virtual ~IMotion() = default;
18 
20  virtual bool Update(IPosition* 移動対象)
21  {
22  return false;
23  }
24  };
25 
26  }
27 }
virtual bool Update(IPosition *移動対象)
Motion終了時はfalseを返す.
Definition: IMotion.h:20
移動方法のインターフェース.
Definition: IMotion.h:14
位置と方向を持つクラスのインターフェース.
Definition: IPosition.h:11