Property | Type | Description | |
---|---|---|---|
OriginDefault | Vector2 | ||
ScaleDefault | float |
Method | Description | |
---|---|---|
AddPosition ( Vector2 pos, int posId = -1 ) : |
||
AddPosition ( float x, float y, int posId = -1 ) : |
||
Animate ( |
||
Animate ( |
Animates texture at positionIndex
|
|
Animate ( float toX, float toY, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
Animate ( int posIndex, Vector2 toPos, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
Animate ( int posIndex, float toX, float toY, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
AnimateFrame ( |
||
AnimatePos ( |
Annimates the given model to the given position(x,y)
|
|
AnimatePos ( float toX, float toY, float timeInMs, bool loop = false ) : void |
Anniates the first model (if exists) instance to given position(x,y)
|
|
AnimateScale ( |
Annimates the given model to the given scale
|
|
AnimateScale ( float toScale, float timeInMs, bool loop = false ) : void |
Anniates the first model(if exists) instance to given scale
|
|
AnimateScale ( int posIndex, float scale, float time, bool loop = false ) : void | ||
Deactivate ( ) : void | ||
EmptyList ( ) : void | ||
GetAt ( int index ) : |
Gets the model at index
|
|
ImageController ( |
||
ImageController ( |
||
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
OnNext ( GameStateManager value ) : void | ||
RemoveId ( int id ) : void | ||
RemovePosition ( |
||
RemovePosition ( int index ) : void | ||
SetFps ( |
||
SetFps ( int fps ) : void |
Sets frames per second for first instance in models
|
|
SetFrame ( |
Set current frame at given image model
|
|
SetFrame ( int frame ) : void |
Set frame at first instance in model list if exists
|
|
SetFrameRectangle ( int widht, int height ) : void | ||
SetPosition ( Vector2 pos ) : |
Remove all other image models and create new model with position
|
|
SetPosition ( int x, int y ) : |
Remove all other image models and create new model with position
|
|
Unload ( ) : void | ||
Update ( |
Method | Description | |
---|---|---|
updateAnimation ( |
public AddPosition ( Vector2 pos, int posId = -1 ) : |
||
pos | Vector2 | |
posId | int | |
return |
public AddPosition ( float x, float y, int posId = -1 ) : |
||
x | float | |
y | float | |
posId | int | |
return |
public Animate ( |
||
model | ||
toPos | Vector2 | |
timeInMs | float | |
loop | bool | |
toScale | float | |
return | void |
public Animate ( |
||
model | ||
toX | float | |
toY | float | |
timeInMs | float | Time to use to animate |
loop | bool | |
toScale | float | |
return | void |
public Animate ( float toX, float toY, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
scale | float | |
return | void |
public Animate ( int posIndex, Vector2 toPos, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
posIndex | int | |
toPos | Vector2 | |
timeInMs | float | |
loop | bool | |
scale | float | |
return | void |
public Animate ( int posIndex, float toX, float toY, float timeInMs, bool loop = false, float scale = 1f ) : void | ||
posIndex | int | |
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
scale | float | |
return | void |
public AnimateFrame ( |
||
model | ||
startFrame | int | |
endFrame | int | |
fps | int | |
loop | bool | |
return | void |
public AnimatePos ( |
||
model | ||
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
return | void |
public AnimatePos ( float toX, float toY, float timeInMs, bool loop = false ) : void | ||
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
return | void |
public AnimateScale ( |
||
model | ||
toScale | float | |
timeInMs | float | |
loop | bool | |
return | void |
public AnimateScale ( float toScale, float timeInMs, bool loop = false ) : void | ||
toScale | float | |
timeInMs | float | |
loop | bool | |
return | void |
public AnimateScale ( int posIndex, float scale, float time, bool loop = false ) : void | ||
posIndex | int | |
scale | float | |
time | float | |
loop | bool | |
return | void |
public GetAt ( int index ) : |
||
index | int | |
return |
public ImageController ( |
||
screen | ||
assetName | string | |
pos | Vector2 | |
layer | int | |
staticPosition | bool | |
return | System |
public ImageController ( |
||
screen | ||
assetName | string | |
layer | int | |
staticPosition | bool | |
return | System |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public OnNext ( GameStateManager value ) : void | ||
value | GameStateManager | |
return | void |
public RemovePosition ( |
||
pos | ||
return | void |
public SetFps ( |
||
model | ||
fps | int | |
return | void |
public SetFrame ( |
||
model | ||
frame | int | |
return | void |
public SetFrameRectangle ( int widht, int height ) : void | ||
widht | int | |
height | int | |
return | void |
public SetPosition ( Vector2 pos ) : |
||
pos | Vector2 | |
return |
public SetPosition ( int x, int y ) : |
||
x | int | |
y | int | |
return |
public Update ( |
||
gameTime | ||
return | void |