Beispiel #1
0
		//
		public override Entity Init (string defID)
		{
			base.Init (defID);
			Drops = ((ThingDef)def).drops;
			physicsObject = new PhysicsObject (this, new Vector3 (1, 1, 1));
			return this;
		}
		public static void Remove (PhysicsObject pObj)
		{
			if (!physicsList.Contains (pObj)) {
				physicsList.Remove (pObj);
			}
		}
		public static void Add (PhysicsObject pObj)
		{
			if (!physicsList.Contains (pObj)) {
				physicsList.Add (pObj);
			}
		}