Beispiel #1
0
 public void BottomOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, GetHeight()
                   - o.GetHeight());
 }
Beispiel #2
0
 public void TopOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, 0);
 }
Beispiel #3
0
 public void RightOn(Actor o)
 {
     o.SetLocation(GetWidth() - o.GetWidth(), GetHeight() / 2
                   - o.GetHeight() / 2);
 }
Beispiel #4
0
 public void BottomOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, GetHeight()
             - obj0.GetHeight());
 }
Beispiel #5
0
 public void CenterOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, GetHeight()
                   / 2 - o.GetHeight() / 2);
 }
Beispiel #6
0
 public void TopOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, 0);
 }
Beispiel #7
0
 public void RightOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() - obj0.GetWidth(), GetHeight() / 2
             - obj0.GetHeight() / 2);
 }
Beispiel #8
0
 public void CenterOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, GetHeight()
             / 2 - obj0.GetHeight() / 2);
 }
Beispiel #9
0
 public void RightOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() - obj0.GetWidth(), GetHeight() / 2
                      - obj0.GetHeight() / 2);
 }
Beispiel #10
0
 public void TopOn(Actor obj0)
 {
     obj0.SetLocation(GetWidth() / 2 - obj0.GetWidth() / 2, 0);
 }
Beispiel #11
0
 public void TopOn(Actor o)
 {
     o.SetLocation(GetWidth() / 2 - o.GetWidth() / 2, 0);
 }
Beispiel #12
0
 public void RightOn(Actor o)
 {
     o.SetLocation(GetWidth() - o.GetWidth(), GetHeight() / 2
             - o.GetHeight() / 2);
 }