C# Class Artemis.Engine.AbstractLayoutSpacingProvider

Show file Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Public Methods

Method Description
GetPositionOf ( int index, int totalItems, Vector2 initialPosition ) : Vector2

Gets the position of the object with the given index.

Method Details

GetPositionOf() public abstract method

Gets the position of the object with the given index.
public abstract GetPositionOf ( int index, int totalItems, Vector2 initialPosition ) : Vector2
index int
totalItems int
initialPosition Microsoft.Xna.Framework.Vector2
return Microsoft.Xna.Framework.Vector2