Made some more attributes private.
This commit is contained in:
parent
60cb1dbbc9
commit
714de2aaef
|
@ -46,9 +46,10 @@ void VblankInterrupt()
|
||||||
class Smoke {
|
class Smoke {
|
||||||
OBJATTR* oam;
|
OBJATTR* oam;
|
||||||
int num_entries;
|
int num_entries;
|
||||||
public:
|
|
||||||
s8* smoke_frame;
|
s8* smoke_frame;
|
||||||
u8 next_smoke;
|
u8 next_smoke;
|
||||||
|
|
||||||
|
public:
|
||||||
Smoke(int num_entries, OBJATTR* start) {
|
Smoke(int num_entries, OBJATTR* start) {
|
||||||
oam = start;
|
oam = start;
|
||||||
smoke_frame = new s8[num_entries];
|
smoke_frame = new s8[num_entries];
|
||||||
|
@ -93,6 +94,7 @@ class Car {
|
||||||
OBJAFFINE* aff_matrix;
|
OBJAFFINE* aff_matrix;
|
||||||
OBJATTR* oam;
|
OBJATTR* oam;
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Car(int x, int y, OBJAFFINE* aff, OBJATTR* entry, int aff_index,
|
Car(int x, int y, OBJAFFINE* aff, OBJATTR* entry, int aff_index,
|
||||||
int sprite_index) {
|
int sprite_index) {
|
||||||
|
|
Reference in New Issue