コード例 #1
0
 public void BottomOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, GetHeight()
                   - o.GetHeight());
 }
コード例 #2
0
 public void LeftOn(Actor o)
 {
     o.SetLocation(0, GetHeight() / 2 - o.GetHeight() / 2);
 }
コード例 #3
0
 public void RightOn(Actor o)
 {
     o.SetLocation(GetWidth() - o.GetWidth(), GetHeight() / 2
                   - o.GetHeight() / 2);
 }
コード例 #4
0
ファイル: LLayer.cs プロジェクト: keppelcao/LGame
 public void BottomOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, GetHeight()
             - obj0.GetHeight());
 }
コード例 #5
0
 public void CenterOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, GetHeight()
                   / 2 - o.GetHeight() / 2);
 }
コード例 #6
0
ファイル: LLayer.cs プロジェクト: keppelcao/LGame
 public void LeftOn(Actor obj0)
 {
     obj0.SetLocation(0, GetHeight() / 2 - obj0.GetHeight() / 2);
 }
コード例 #7
0
ファイル: LLayer.cs プロジェクト: keppelcao/LGame
 public void RightOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() - obj0.GetWidth(), GetHeight() / 2
             - obj0.GetHeight() / 2);
 }
コード例 #8
0
ファイル: LLayer.cs プロジェクト: keppelcao/LGame
 public void CenterOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, GetHeight()
             / 2 - obj0.GetHeight() / 2);
 }
コード例 #9
0
 public void RightOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() - obj0.GetWidth(), GetHeight() / 2
                      - obj0.GetHeight() / 2);
 }
コード例 #10
0
 public void LeftOn(Actor obj0)
 {
     obj0.SetLocation(0, GetHeight() / 2 - obj0.GetHeight() / 2);
 }
コード例 #11
0
ファイル: LLayer.cs プロジェクト: hellogithubtesting/LGame
 public void RightOn(Actor o)
 {
     o.SetLocation(GetWidth() - o.GetWidth(), GetHeight() / 2
             - o.GetHeight() / 2);
 }
コード例 #12
0
ファイル: LLayer.cs プロジェクト: hellogithubtesting/LGame
 public void LeftOn(Actor o)
 {
     o.SetLocation(0, GetHeight() / 2 - o.GetHeight() / 2);
 }