Beispiel #1
0
 internal PelletObject(GraphicsHandler handler)
     : base(GraphicsConstants.TileSize)
 {
     handler.SetStaticSprite(this, GraphicsID.TilePelletSmall, PaletteID.Pellet, Resources.Tiles, GraphicsConstants.TileWidth);
 }
Beispiel #2
0
 internal ScoreObject(GraphicsHandler handler, int score)
     : base(GraphicsConstants.SpriteSize)
 {
     handler.SetStaticSprite(this, score.ToGraphicsID(), PaletteID.Text, Resources.Sprites, GraphicsConstants.SpriteWidth);
 }