Ignore:
Timestamp:
2013-08-29 21:35:13 (7 years ago)
Author:
dezhidki
Message:
  • Muokattu AStarin debuggausta
  • Väritetty pelaajien pelinappuloita
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Entities/EntityArrow.cs

    r4646 r4752  
    1818        private float moveDir, pushPower; 
    1919        private int dirID, damage; 
    20         private Team enemyTeam; 
     20        private Team enemyTeam, attackerTeam; 
    2121        private Unit target, archer; 
    2222 
     
    3030            this.target = target; 
    3131            this.archer = archer; 
     32            this.attackerTeam = attackerTeam; 
    3233            enemyTeam = Game.GetEnemyTeam(attackerTeam); 
    3334            moveSpeed = 2.0F; 
     
    7677        public override void Render(RenderHelper renderer) 
    7778        { 
    78             renderer.Render(ScreenPos, 6, dirID, Resources.SPRITESHEET_RANGER, Viewport.ZOOM); 
     79            renderer.Render(ScreenPos, 6, dirID, attackerTeam.SpriteSheetRanger, Viewport.ZOOM); 
    7980        } 
    8081    } 
Note: See TracChangeset for help on using the changeset viewer.