예제 #1
0
 public ShapeAttributesContainer(ShapeAttributesContainer CopyTemplate)
 {
     this.IsMovableOnBoardByPlayerGrab     = CopyTemplate.IsMovableOnBoardByPlayerGrab;
     this.IsBreakableOnBoardByShatterCombo = CopyTemplate.IsBreakableOnBoardByShatterCombo;
     this.IsAffectedByGravity          = CopyTemplate.IsAffectedByGravity;
     this.ShapeBasePointValue          = CopyTemplate.ShapeBasePointValue;
     this.ComboScoreAdditiveMultiplier = CopyTemplate.ComboScoreAdditiveMultiplier;
 }
 public override bool RegisterPrimaryShape(GameShape inPrimaryShape)
 {
     this.PrimaryShape    = inPrimaryShape;
     this.ShapeAttributes = this.PrimaryShape.GetShapeAttributes();
     return(true);
 }
 public override void UnRegisterPrimaryShape()
 {
     this.PrimaryShape    = (GameShape)null;
     this.ShapeAttributes = (ShapeAttributesContainer)null;
     Object.Destroy((Object)this.MyGameObject);
 }