프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OriginDefault | Vector2 | ||
ScaleDefault | float |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
updateAnimation ( |
public AddPosition ( Vector2 pos, int posId = -1 ) : |
||
pos | Vector2 | |
posId | int | |
리턴 |
public AddPosition ( float x, float y, int posId = -1 ) : |
||
x | float | |
y | float | |
posId | int | |
리턴 |
public Animate ( |
||
model | ||
toPos | Vector2 | |
timeInMs | float | |
loop | bool | |
toScale | float | |
리턴 | void |
public Animate ( |
||
model | ||
toX | float | |
toY | float | |
timeInMs | float | Time to use to animate |
loop | bool | |
toScale | float | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | void |
public AnimateFrame ( |
||
model | ||
startFrame | int | |
endFrame | int | |
fps | int | |
loop | bool | |
리턴 | void |
public AnimatePos ( |
||
model | ||
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
리턴 | void |
public AnimatePos ( float toX, float toY, float timeInMs, bool loop = false ) : void | ||
toX | float | |
toY | float | |
timeInMs | float | |
loop | bool | |
리턴 | void |
public AnimateScale ( |
||
model | ||
toScale | float | |
timeInMs | float | |
loop | bool | |
리턴 | void |
public AnimateScale ( float toScale, float timeInMs, bool loop = false ) : void | ||
toScale | float | |
timeInMs | float | |
loop | bool | |
리턴 | void |
public AnimateScale ( int posIndex, float scale, float time, bool loop = false ) : void | ||
posIndex | int | |
scale | float | |
time | float | |
loop | bool | |
리턴 | void |
public ImageController ( |
||
screen | ||
assetName | string | |
pos | Vector2 | |
layer | int | |
staticPosition | bool | |
리턴 | System |
public ImageController ( |
||
screen | ||
assetName | string | |
layer | int | |
staticPosition | bool | |
리턴 | System |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
리턴 | void |
public RemovePosition ( |
||
pos | ||
리턴 | void |
public SetFps ( |
||
model | ||
fps | int | |
리턴 | void |
public SetFrame ( |
||
model | ||
frame | int | |
리턴 | void |
public SetFrameRectangle ( int widht, int height ) : void | ||
widht | int | |
height | int | |
리턴 | void |
public SetPosition ( Vector2 pos ) : |
||
pos | Vector2 | |
리턴 |
public SetPosition ( int x, int y ) : |
||
x | int | |
y | int | |
리턴 |
public Update ( |
||
gameTime | ||
리턴 | void |