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