[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-devel] CVS: kdegames/atlantik/libatlantic estate.cpp,1.5,1.6 estate.h,1.8,1.9
From: kde () office ! kde ! org
Date: 2002-06-30 23:32:31
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv22935/libatlantic
Modified Files:
estate.cpp estate.h
Log Message:
added more info to estatedetails and added conditions to showing details
Index: estate.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/estate.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- estate.cpp 2002/04/30 18:26:20 1.5
+++ estate.cpp 2002/06/30 23:32:27 1.6
@@ -25,6 +25,7 @@
m_estateId = estateId;
m_owner = 0;
m_houses = 0;
+ m_price = 0;
m_changed = m_canBeOwned = m_canBuyHouses = m_canSellHouses = m_isMortgaged = \
m_canToggleMortgage = false; m_bgColor = QColor();
m_color = QColor();
Index: estate.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/estate.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- estate.h 2002/04/30 18:26:20 1.8
+++ estate.h 2002/06/30 23:32:27 1.9
@@ -54,6 +54,8 @@
QColor color() const { return m_color; }
void setBgColor(const QColor color);
QColor bgColor() const { return m_bgColor; }
+ void setPrice(const unsigned int price) { m_price = price; }
+ unsigned int price() const { return m_price; }
void update(bool force = false);
signals:
@@ -72,7 +74,7 @@
QString m_name;
Player *m_owner;
EstateGroup *m_estateGroup;
- unsigned int m_houses;
+ unsigned int m_houses, m_price;
bool m_canBeOwned, m_canBuyHouses, m_canSellHouses, m_isMortgaged, \
m_canToggleMortgage; QColor m_bgColor, m_color;
};
_______________________________________________
atlantik-devel mailing list
atlantik-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic