Esempio n. 1
0
 internal override void Draw(Fusion.Graphics.SpriteBatch sb, Fusion.Graphics.DebugStrings ds, StereoEye stereoEye)
 {
     float offsetScale = 0;
     if (stereoEye == StereoEye.Left)
         offsetScale = -Config.offsetScale;
     if (stereoEye == StereoEye.Right)
         offsetScale = Config.offsetScale;
     sb.Draw(Texture, Cell.X - offsetScale, Cell.Y, Config.HEX_SIZE, Config.HEX_SIZE, Team.Color);
 }