mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Android: Convert SkylanderSlot to Kotlin
This commit is contained in:
parent
bbc1951afb
commit
36f1315513
@ -1,42 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.skylanders.ui;
|
||||
|
||||
public class SkylanderSlot
|
||||
{
|
||||
private String mLabel;
|
||||
private final int mSlotNum;
|
||||
private int mPortalSlot;
|
||||
|
||||
public SkylanderSlot(String label, int slot)
|
||||
{
|
||||
mLabel = label;
|
||||
mSlotNum = slot;
|
||||
mPortalSlot = -1;
|
||||
}
|
||||
|
||||
public String getLabel()
|
||||
{
|
||||
return mLabel;
|
||||
}
|
||||
|
||||
public void setLabel(String label)
|
||||
{
|
||||
mLabel = label;
|
||||
}
|
||||
|
||||
public int getSlotNum()
|
||||
{
|
||||
return mSlotNum;
|
||||
}
|
||||
|
||||
public int getPortalSlot()
|
||||
{
|
||||
return mPortalSlot;
|
||||
}
|
||||
|
||||
public void setPortalSlot(int mPortalSlot)
|
||||
{
|
||||
this.mPortalSlot = mPortalSlot;
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.skylanders.ui
|
||||
|
||||
class SkylanderSlot(var label: String, val slotNum: Int) {
|
||||
var portalSlot: Int = -1
|
||||
}
|
Loading…
Reference in New Issue
Block a user