예제 #1
0
        public Gravity Add(object o, float vx, float vy, float ax, float ay,
                           float ave)
        {
            Gravity g = new Gravity(o);

            g.velocityX       = vx;
            g.velocityY       = vy;
            g.accelerationX   = ax;
            g.accelerationY   = ay;
            g.angularVelocity = ave;
            Add(g);
            return(g);
        }
예제 #2
0
 public void Remove(Gravity obj0)
 {
     CollectionUtils.Add(pendingRemove, obj0);
 }
예제 #3
0
 public void Add(Gravity obj0)
 {
     CollectionUtils.Add(pendingAdd, obj0);
 }
예제 #4
0
		public void Remove(Gravity obj0) {
			CollectionUtils.Add(pendingRemove,obj0);
		}
예제 #5
0
		public void Add(Gravity obj0) {
			CollectionUtils.Add(pendingAdd,obj0);
		}
예제 #6
0
		public Gravity Add(ActionBind o, float vx, float vy, float ax, float ay,
				float ave) {
			Gravity g = new Gravity(o);
			g.velocityX = vx;
			g.velocityY = vy;
			g.accelerationX = ax;
			g.accelerationY = ay;
			g.angularVelocity = ave;
			Add(g);
			return g;
		}