示例#1
0
 public static SpriteSettings GetWallSetting(Game game, Vector2 startPosition)
 {
     return(Default.GetCustomSetting(1, 0, game.Content.Load <Texture2D>(textureImageFile), WallSetting.FrameSize,
                                     new Point(256, 0), startPosition, 0, "CollisionMissle"));
 }
示例#2
0
 private static SpriteSettings GetStaticSetting(Game game, Vector2 startPosition, Point startFrame)
 {
     return(Default.GetCustomSetting(1, 0, game.Content.Load <Texture2D>(textureImageFile), WallSetting.FrameSize,
                                     startFrame, startPosition, 0, "CollisionMissle", 1, Team.StaticTeam));
 }