package com.integreight.onesheeld.model; import com.integreight.onesheeld.shields.ControllerParent; import com.integreight.onesheeld.shields.ShieldFragmentParent; public class Shield { public byte id; public String name; public int itemBackgroundColor; public int symbolId; public boolean mainActivitySelection; public boolean isReleasable = true; public int isInvalidatable = 0; public Class<? extends ControllerParent<?>> shieldType; public Class<? extends ShieldFragmentParent<?>> shieldFragment; public int position = 0; public String tag; public Shield(byte id, int position, String tag, String name, int mainImageStripId, int symbolId, boolean mainActivitySelection, Class<? extends ControllerParent<?>> shieldType, Class<? extends ShieldFragmentParent<?>> shieldFragment, boolean isReleasable, int isInvalidatable) { this.id = id; this.name = name; this.itemBackgroundColor = mainImageStripId; this.symbolId = symbolId; this.mainActivitySelection = mainActivitySelection; this.shieldType = shieldType; this.shieldFragment = shieldFragment; this.isReleasable = isReleasable; this.isInvalidatable = isInvalidatable; this.tag = tag; this.position = position; } }