C# Class BouncingBall.Scene

Show file Open project: EFanZh/EFanZh

Public Methods

Method Description
ClearXCache ( ) : void
ClearYCache ( ) : void
GetAfterImages ( System.TimeSpan currentTime ) : IEnumerable
GetCurrentPosition ( System.TimeSpan currentTime ) : Point
Scene ( double g, double ballSize, Point ballIinitialLocation, System.Windows.Vector ballIinitialVelocity, int maxAfterimageCount, System.TimeSpan afterimageInterval ) : System

Method Details

ClearXCache() public method

public ClearXCache ( ) : void
return void

ClearYCache() public method

public ClearYCache ( ) : void
return void

GetAfterImages() public method

public GetAfterImages ( System.TimeSpan currentTime ) : IEnumerable
currentTime System.TimeSpan
return IEnumerable

GetCurrentPosition() public method

public GetCurrentPosition ( System.TimeSpan currentTime ) : Point
currentTime System.TimeSpan
return Point

Scene() public method

public Scene ( double g, double ballSize, Point ballIinitialLocation, System.Windows.Vector ballIinitialVelocity, int maxAfterimageCount, System.TimeSpan afterimageInterval ) : System
g double
ballSize double
ballIinitialLocation Point
ballIinitialVelocity System.Windows.Vector
maxAfterimageCount int
afterimageInterval System.TimeSpan
return System