public ReboundTemplate(float paddleSpeed, BallType bType, ArenaObject arObject, ArenaObjectType arObjectType) { PaddleSpeed = paddleSpeed; BType = bType; ArObject = arObject; ArObjectType = arObjectType; }
public void GetReboundStrategyTest(ArenaObjectType type) { PowerUpBuilder builder = new PowerUpBuilder(); PowerUp a = builder.CreateObject() as PowerUp; a.SetTypeParams(type); var str = a.GetReboundStrategy(); Assert.IsTrue(a.Type == type); }
public virtual void SetTypeParams(ArenaObjectType type) { Type = type; }
public ReboundFromPaddle(float paddleSpeed, BallType bType, ArenaObject arObject, ArenaObjectType arObjectType) : base(paddleSpeed, bType, arObject, arObjectType) { }