2012-03-26 12:45:04 -05:00
|
|
|
mod kitties {
|
|
|
|
|
|
|
|
class cat {
|
|
|
|
priv {
|
2012-03-26 20:35:18 -05:00
|
|
|
let mut meows : uint;
|
2012-05-26 02:32:08 -05:00
|
|
|
fn nap() { for uint::range(1u, 10000u) {|_i|}}
|
2012-03-26 12:45:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
let how_hungry : int;
|
|
|
|
|
2012-03-29 14:21:13 -05:00
|
|
|
new(in_x : uint, in_y : int) { self.meows = in_x; self.how_hungry = in_y; }
|
2012-03-26 12:45:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|