コード例 #1
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void SetPosition(Vector2 position)
 {
     SetPosition(position.X, position.Y);
 }
コード例 #2
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void SetTargetPosition(Vector2 target)
 {
     SetTargetPosition(target.X, target.Y);
 }
コード例 #3
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void SetMeasureMatrix(Vector2 xMtxElements, Vector2 yMtxElements)
 {
     State[StateVar.XMeasureMtx] = xMtxElements;
     State[StateVar.YMeasureMtx] = yMtxElements;
 }
コード例 #4
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void SetControlMatrix(Vector2 xMtxElements, Vector2 yMtxElements)
 {
     State[StateVar.XControlMtx] = xMtxElements;
     State[StateVar.YControlMtx] = yMtxElements;
 }
コード例 #5
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void ApplyMoment(Vector2 moment)
 {
     ApplyMoment(moment.X, moment.Y);
 }
コード例 #6
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void ApplyForce(Vector2 force)
 {
     ApplyForce(force.X, force.Y);
 }
コード例 #7
0
ファイル: Character.cs プロジェクト: homoluden/IREngine
 public void SetVelocity(Vector2 velocity)
 {
     SetVelocity(velocity.X, velocity.Y);
 }