public AddBox ( MegaMan.Engine.CollisionBox box ) : void | ||
box | MegaMan.Engine.CollisionBox | |
리턴 | void |
public override Component Clone() { CollisionComponent copy = new CollisionComponent { Enabled = Enabled, hitboxes = new List <CollisionBox>() }; foreach (CollisionBox box in hitboxes) { copy.AddBox(box); } return(copy); }
public override Component Clone() { CollisionComponent copy = new CollisionComponent { Enabled = Enabled, hitboxes = new List<CollisionBox>() }; foreach (CollisionBox box in hitboxes) copy.AddBox(box); return copy; }