Changeset 71 for trunk/UGame.pas
- Timestamp:
- Sep 28, 2014, 8:53:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r70 r71 193 193 procedure LoadFromNode(Node: TDOMNode); 194 194 procedure SaveToNode(Node: TDOMNode); 195 procedure Paint( PaintBox: TPaintBox);195 procedure Paint(Canvas: TCanvas); 196 196 constructor Create; 197 197 destructor Destroy; override; … … 1393 1393 end; 1394 1394 1395 procedure TPlayer.Paint( PaintBox: TPaintBox);1396 begin 1397 Game.Map.Paint( PaintBox.Canvas, View);1395 procedure TPlayer.Paint(Canvas: TCanvas); 1396 begin 1397 Game.Map.Paint(Canvas, View); 1398 1398 end; 1399 1399 … … 2108 2108 Brush.Color := clPurple 2109 2109 else Brush.Color := Cell.GetColor; 2110 Pen.Color := clBlack;2110 //Pen.Color := clBlack; 2111 2111 PaintCell(Canvas, Cell.PosPx, IntToStr(Cell.GetAvialPower), View, Cell); 2112 2112 end;
Note:
See TracChangeset
for help on using the changeset viewer.