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